From 32ac8ccbaef32720b9df9f6d0fca998a8d0e5869 Mon Sep 17 00:00:00 2001 From: Harald Oehlmann Date: Tue, 18 Aug 2015 14:28:58 +0200 Subject: [PATCH] RSS bug corrected: Character missing for message [01]90614141999996[10]1234222222222221 Patch by Daniel Frede --- backend/rss.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/backend/rss.c b/backend/rss.c index 35384b44..18272952 100644 --- a/backend/rss.c +++ b/backend/rss.c @@ -2078,7 +2078,11 @@ int rssexpanded(struct zint_symbol *symbol, unsigned char source[], int src_len) } else { /* 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)) { symbol->option_2 = 2;