1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-01-05 19:27:07 +00:00

Another QR Code bugfix

QR Code should encode all of the given data, never leave off the last digit!
This commit is contained in:
Robin Stuart
2010-12-19 16:16:13 +00:00
parent 964a178afe
commit ae44cf2d33

View File

@@ -393,7 +393,7 @@ void qr_binary(int datastream[], int version, int target_binlen, char mode[], in
} }
position += short_data_block_length; position += short_data_block_length;
} while (position < length - 1) ; } while (position < length) ;
/* Terminator */ /* Terminator */
concat(binary, "0000"); concat(binary, "0000");