From 74047434b577892dfd67d6674dc5e4d477d3d763 Mon Sep 17 00:00:00 2001 From: Robin Stuart Date: Wed, 4 May 2011 17:30:01 +0100 Subject: [PATCH] Minor bugfix in Grid Matrix Grid Matrix doesn't properly set up calculations for byte mode - situation should rarely occur but bug fixed anyway. Thanks to Tgotic. --- backend/gridmtx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/gridmtx.c b/backend/gridmtx.c index 2a21606a..715590ec 100644 --- a/backend/gridmtx.c +++ b/backend/gridmtx.c @@ -167,6 +167,7 @@ int seek_forward(int gbdata[], int length, int position, int current_mode) upper_count = 4; lower_count = 4; chinese_count = 4; + break; default: /* Start of symbol */ number_count = 4; byte_count = 4;