From d0f15ef423118332b7af8bce14dd428f3856ed5a Mon Sep 17 00:00:00 2001 From: Robin Stuart Date: Mon, 13 Dec 2010 20:45:18 +0000 Subject: [PATCH] Bugfix in Telepen Telepen does not support 0x7f - thanks to Monica Swanson --- backend/telepen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/telepen.c b/backend/telepen.c index 6316e69f..cd6f8717 100644 --- a/backend/telepen.c +++ b/backend/telepen.c @@ -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;