mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-18 02:17:06 +00:00
Fix Code 93 so that it actually encodes some data
This commit is contained in:
@@ -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 */
|
||||||
|
|||||||
Reference in New Issue
Block a user