mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Fix Code 93 so that it actually encodes some data
This commit is contained in:
parent
f185e85cb9
commit
91bf7f7bab
@ -383,6 +383,8 @@ int c93(struct zint_symbol *symbol, unsigned char source[])
|
|||||||
error_number = 0;
|
error_number = 0;
|
||||||
strcpy(dest, "");
|
strcpy(dest, "");
|
||||||
|
|
||||||
|
strcpy(local_source, (char *) source);
|
||||||
|
|
||||||
if(ustrlen(local_source) > 45) {
|
if(ustrlen(local_source) > 45) {
|
||||||
/* This stops rediculously long input - the actual length of the barcode
|
/* This stops rediculously long input - the actual length of the barcode
|
||||||
depends on the type of data */
|
depends on the type of data */
|
||||||
|
Loading…
Reference in New Issue
Block a user