Fix batch bugs: 1) interpretation of former code included in next if shorter, wrong eof detection issed wrong warning

This commit is contained in:
Harald Oehlmann 2015-08-18 14:17:59 +02:00
parent 36a2830562
commit 994c5adb10
2 changed files with 7 additions and 2 deletions

View file

@ -88,7 +88,7 @@ void ZBarcode_Clear(struct zint_symbol *symbol)
}
symbol->rows = 0;
symbol->width = 0;
symbol->text[0] = '\0';
memset(symbol->text,0,128);
symbol->errtxt[0] = '\0';
if (symbol->bitmap != NULL)
{