Fix Code 93 so that it actually encodes some data

This commit is contained in:
hooper114 2009-07-08 10:16:31 +00:00
parent f185e85cb9
commit 91bf7f7bab

View File

@ -383,6 +383,8 @@ int c93(struct zint_symbol *symbol, unsigned char source[])
error_number = 0;
strcpy(dest, "");
strcpy(local_source, (char *) source);
if(ustrlen(local_source) > 45) {
/* This stops rediculously long input - the actual length of the barcode
depends on the type of data */