mirror of
https://git.code.sf.net/p/zint/code
synced 2024-09-19 23:39:02 -04:00
RSS bug corrected: Character missing for message [01]90614141999996[10]1234222222222221
Patch by Daniel Frede
This commit is contained in:
parent
b948d9928c
commit
32ac8ccbae
1 changed files with 5 additions and 1 deletions
|
@ -2078,7 +2078,11 @@ int rssexpanded(struct zint_symbol *symbol, unsigned char source[], int src_len)
|
||||||
} else {
|
} else {
|
||||||
/* RSS Expanded Stacked */
|
/* RSS Expanded Stacked */
|
||||||
|
|
||||||
codeblocks = (data_chars + 1) / 2;
|
/* Bug corrected: Character missing for message
|
||||||
|
* [01]90614141999996[10]1234222222222221
|
||||||
|
* Patch by Daniel Frede
|
||||||
|
*/
|
||||||
|
codeblocks = (data_chars + 1) / 2 + 1;
|
||||||
|
|
||||||
if((symbol->option_2 < 1) || (symbol->option_2 > 10)) {
|
if((symbol->option_2 < 1) || (symbol->option_2 > 10)) {
|
||||||
symbol->option_2 = 2;
|
symbol->option_2 = 2;
|
||||||
|
|
Loading…
Reference in a new issue