mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-15 23:54:34 -04:00
sym->row_height is 200 now clear it more reliable.
This commit is contained in:
parent
696b99b1d2
commit
02c0df93e6
1 changed files with 1 additions and 4 deletions
|
@ -43,7 +43,6 @@
|
|||
|
||||
struct zint_symbol *ZBarcode_Create() {
|
||||
struct zint_symbol *symbol;
|
||||
int i;
|
||||
|
||||
symbol = (struct zint_symbol*) malloc(sizeof (*symbol));
|
||||
if (!symbol) return NULL;
|
||||
|
@ -67,9 +66,7 @@ struct zint_symbol *ZBarcode_Create() {
|
|||
symbol->input_mode = DATA_MODE;
|
||||
strcpy(symbol->primary, "");
|
||||
memset(&(symbol->encoded_data[0][0]), 0, sizeof (symbol->encoded_data));
|
||||
for (i = 0; i < 178; i++) {
|
||||
symbol->row_height[i] = 0;
|
||||
}
|
||||
memset(&(symbol->row_height[0]), 0, sizeof (symbol->row_height));
|
||||
symbol->bitmap = NULL;
|
||||
symbol->bitmap_width = 0;
|
||||
symbol->bitmap_height = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue