mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
"gridmtx: Fix EOL bug", 2012-11-11 from 8d3cd0ece0
This commit is contained in:
parent
1e41540688
commit
ce2950dd7e
@ -255,7 +255,7 @@ int seek_forward(int gbdata[], int length, int position, int current_mode)
|
||||
|
||||
/* Adjust for <end of line> */
|
||||
for(sp = position; (sp < (length - 1)) && (sp <= (position + 7)); sp++) {
|
||||
if((gbdata[sp] == 0x13) && (gbdata[sp] == 0x10)) {
|
||||
if((gbdata[sp] == 0x13) && (gbdata[sp+1] == 0x10)) {
|
||||
chinese_count -= 13;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user