mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Prevent binary data corruption
Bugfix by Karl Semich Ref: http://sourceforge.net/p/zint/mailman/message/34330108/
This commit is contained in:
parent
21a8a0f0b7
commit
cbe5b32785
@ -568,6 +568,7 @@ int aztec_text_process(unsigned char source[], const unsigned int src_len, char
|
||||
if(debug) printf("UL ");
|
||||
concat(binary_string, hexbit[31]);
|
||||
if(debug) printf("BS ");
|
||||
lasttable = UPPER;
|
||||
newtable = BINARY;
|
||||
break;
|
||||
case DIGIT: /* UL BS */
|
||||
@ -575,6 +576,7 @@ int aztec_text_process(unsigned char source[], const unsigned int src_len, char
|
||||
if(debug) printf("UL ");
|
||||
concat(binary_string, hexbit[31]);
|
||||
if(debug) printf("BS ");
|
||||
lasttable = UPPER;
|
||||
newtable = BINARY;
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user