From 91bf7f7babdd4091f2b003b2456f51270dfcc395 Mon Sep 17 00:00:00 2001 From: hooper114 Date: Wed, 8 Jul 2009 10:16:31 +0000 Subject: [PATCH] Fix Code 93 so that it actually encodes some data --- backend/code.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/code.c b/backend/code.c index 945960d7..d85276f7 100644 --- a/backend/code.c +++ b/backend/code.c @@ -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 */