mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Bugfix in Telepen
Telepen does not support 0x7f - thanks to Monica Swanson
This commit is contained in:
parent
0be72e8ed6
commit
d0f15ef423
@ -63,7 +63,7 @@ int telepen(struct zint_symbol *symbol, unsigned char source[], int src_len)
|
||||
strcpy(dest, TeleTable['_']);
|
||||
|
||||
for(i = 0; i < src_len; i++) {
|
||||
if(source[i] > 127) {
|
||||
if(source[i] > 126) {
|
||||
/* Cannot encode extended ASCII */
|
||||
strcpy(symbol->errtxt, "Invalid characters in input data");
|
||||
return ERROR_INVALID_DATA;
|
||||
|
Loading…
Reference in New Issue
Block a user