1
0
mirror of https://git.code.sf.net/p/zint/code synced 2025-12-20 03:17:12 +00:00

Improved compression for Latin-1 encoding in Code 128

This commit is contained in:
hooper114
2009-05-14 22:22:01 +00:00
parent 2170302bf5
commit 76e51fc0ee
3 changed files with 71 additions and 29 deletions

View File

@@ -388,7 +388,7 @@ int ZBarcode_Encode(struct zint_symbol *symbol, unsigned char *source)
unsigned char preprocessed[input_length];
if(ustrlen(source) == 0) {
strcpy(symbol->errtxt, "No input data [Z00]");
strcpy(symbol->errtxt, "No input data");
error_tag(symbol->errtxt, ERROR_INVALID_DATA);
return ERROR_INVALID_DATA;
}