mirror of
https://git.code.sf.net/p/zint/code
synced 2026-01-27 13:55:57 +00:00
Activated row placement wrap-around at the bottom in placement algorithm
This commit is contained in:
@@ -62,7 +62,6 @@ static void ecc200placementbit(int *array, int NR, int NC, int r, int c, int p,
|
|||||||
r += 4 - ((NC + 4) % 8);
|
r += 4 - ((NC + 4) % 8);
|
||||||
}
|
}
|
||||||
// Necessary for 36x120,36x144,72x120,72x144
|
// Necessary for 36x120,36x144,72x120,72x144
|
||||||
/*
|
|
||||||
if (r >= NR) {
|
if (r >= NR) {
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
fprintf(stderr,"r >= NR:%i,%i at r=%i->",p,b,r);
|
fprintf(stderr,"r >= NR:%i,%i at r=%i->",p,b,r);
|
||||||
@@ -72,7 +71,6 @@ static void ecc200placementbit(int *array, int NR, int NC, int r, int c, int p,
|
|||||||
fprintf(stderr,"%i,c=%i\n",r,c);
|
fprintf(stderr,"%i,c=%i\n",r,c);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
if(0 != array[r * NC + c] ){
|
if(0 != array[r * NC + c] ){
|
||||||
int a = array[r * NC + c];
|
int a = array[r * NC + c];
|
||||||
|
|||||||
Reference in New Issue
Block a user