mirror of
https://git.code.sf.net/p/zint/code
synced 2026-06-10 07:33:43 +00:00
"gridmtx: Fix EOL bug", 2012-11-11 from https://github.com/zint/zint/commit/8d3cd0ece0ae09d9773a541ff35b1f8815bcaddd
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user