mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13: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:
parent
964a178afe
commit
ae44cf2d33
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user