From fdbe0c633834cb4d3768f902abe3c08d239a8c5a Mon Sep 17 00:00:00 2001 From: Harald Oehlmann Date: Tue, 18 Aug 2015 16:16:10 +0200 Subject: [PATCH] rss limited bug fix: finder for checksum 88 added. Patch by Robin Stuart, ticket: https://github.com/zint/zint/issues/44 --- backend/rss.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/rss.h b/backend/rss.h index 92288a1b..c8e7c8e9 100644 --- a/backend/rss.h +++ b/backend/rss.h @@ -73,7 +73,7 @@ static int checksum_weight_ltd[28] = { /* Table 7 */ 1, 3, 9, 27, 81, 65, 17, 51, 64, 14, 42, 37, 22, 66, 20, 60, 2, 6, 18, 54, 73, 41, 34, 13, 39, 28, 84, 74 }; -static int finder_pattern_ltd[1232] = { +static int finder_pattern_ltd[1246] = { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 3, 1, 1, 1, @@ -161,7 +161,8 @@ static int finder_pattern_ltd[1232] = { 2, 1, 1, 1, 1, 1, 1, 3, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 2, 2, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 2, 1, 1, 2, 1, 1, 1, - 2, 1, 1, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1 + 2, 1, 1, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, + 2, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 2, 1, 1 }; /* RSS Expanded Tables */