mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-21 10:45:12 -04:00
Another RSS padding bug!
This commit is contained in:
parent
1e4051d414
commit
695df7572b
1 changed files with 3 additions and 1 deletions
|
@ -1882,7 +1882,9 @@ int rss_binary_string(struct zint_symbol *symbol, char source[], char binary_str
|
|||
} else {
|
||||
strcpy(padstring, "001000010000");
|
||||
}
|
||||
padstring[12 - remainder] = '\0';
|
||||
remainder = 12 - remainder;
|
||||
if(remainder == 12) { remainder = 0; }
|
||||
padstring[remainder] = '\0';
|
||||
concat(binary_string, padstring);
|
||||
|
||||
/* Patch variable length symbol bit field */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue