mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Ticket 12: if(done = 0) corrected
This commit is contained in:
parent
2a1d6b8e48
commit
779894b671
@ -328,7 +328,7 @@ int look_ahead_test(unsigned char source[], int sourcelen, int position, int cur
|
|||||||
done = 0;
|
done = 0;
|
||||||
if((source[sp] >= ' ') && (source[sp] <= '^')) { edf_count += (3.0f / 4.0f); done = 1; }
|
if((source[sp] >= ' ') && (source[sp] <= '^')) { edf_count += (3.0f / 4.0f); done = 1; }
|
||||||
if(source[sp] > 127) { edf_count += (17.0f / 4.0f); done = 1; }
|
if(source[sp] > 127) { edf_count += (17.0f / 4.0f); done = 1; }
|
||||||
if(done = 0) edf_count += (13.0f / 4.0f);
|
if(done == 0) edf_count += (13.0f / 4.0f);
|
||||||
|
|
||||||
/* step (q) */
|
/* step (q) */
|
||||||
/* b256 */
|
/* b256 */
|
||||||
|
Loading…
Reference in New Issue
Block a user