mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-18 02:17:06 +00:00
Make compile with MS-VC6
This commit is contained in:
@@ -223,10 +223,10 @@ static int Columns2Rows(CharacterSetTable *T, unsigned char *data, const size_t
|
||||
|
||||
/* >>> Loop until rowsCur<44 */
|
||||
do {
|
||||
int charCur=0;
|
||||
int fOneLiner=1; /* First try one-Liner */
|
||||
memset(pSet,0,dataLength*sizeof(int));
|
||||
int charCur=0;
|
||||
rowsCur=0;
|
||||
int fOneLiner=1; /* First try one-Liner */
|
||||
|
||||
/* >>> Line and OneLiner-try Loop */
|
||||
do{
|
||||
@@ -466,11 +466,12 @@ static int Rows2Columns(CharacterSetTable *T, unsigned char *data, const size_t
|
||||
testColumns = 1;
|
||||
}
|
||||
|
||||
for (;;) {
|
||||
for (;;) {
|
||||
int errorCur;
|
||||
pTestList[testListSize] = testColumns;
|
||||
testListSize++;
|
||||
useColumns=testColumns; /* Make a copy because it may be modified */
|
||||
int errorCur = Columns2Rows(T, data, dataLength, &rowsCur, &useColumns, pSet, &fillings);
|
||||
errorCur = Columns2Rows(T, data, dataLength, &rowsCur, &useColumns, pSet, &fillings);
|
||||
if (errorCur != 0)
|
||||
return errorCur;
|
||||
if (rowsCur<=rowsRequested) {
|
||||
|
||||
Reference in New Issue
Block a user