From ae44cf2d33ffd88068c1d5e0613489618b2cd360 Mon Sep 17 00:00:00 2001 From: Robin Stuart Date: Sun, 19 Dec 2010 16:16:13 +0000 Subject: [PATCH] Another QR Code bugfix QR Code should encode all of the given data, never leave off the last digit! --- backend/qr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/qr.c b/backend/qr.c index ebb67380..c7eb1271 100644 --- a/backend/qr.c +++ b/backend/qr.c @@ -393,7 +393,7 @@ void qr_binary(int datastream[], int version, int target_binlen, char mode[], in } position += short_data_block_length; - } while (position < length - 1) ; + } while (position < length) ; /* Terminator */ concat(binary, "0000");