mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13: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
@ -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…
x
Reference in New Issue
Block a user