RSS bug corrected: Character missing for message [01]90614141999996[10]1234222222222221

Patch by Daniel Frede
This commit is contained in:
Harald Oehlmann 2015-08-18 14:28:58 +02:00
parent b948d9928c
commit 32ac8ccbae

View file

@ -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;