mirror of
https://git.code.sf.net/p/zint/code
synced 2026-01-27 13:55:57 +00:00
"gridmtx: Fix EOL bug", 2012-11-11 from 8d3cd0ece0
This commit is contained in:
@@ -255,7 +255,7 @@ int seek_forward(int gbdata[], int length, int position, int current_mode)
|
|||||||
|
|
||||||
/* Adjust for <end of line> */
|
/* Adjust for <end of line> */
|
||||||
for(sp = position; (sp < (length - 1)) && (sp <= (position + 7)); sp++) {
|
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;
|
chinese_count -= 13;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user