mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-18 10:27:09 +00:00
Bugfix in Telepen
Telepen does not support 0x7f - thanks to Monica Swanson
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user