mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-31 07:08:26 -04:00
Fix typo in estimating lenth of binary data in QR Code
Fixes #106 reported by Daniel Gredler
This commit is contained in:
parent
23a990c37c
commit
628078021b
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ static void define_mode(char mode[],const int jisdata[], const size_t length,con
|
|||
while (((mlen + i) < length) && (mode[mlen + i] == 'A')) {
|
||||
mlen++;
|
||||
};
|
||||
if (mlen < 6) {
|
||||
if (mlen < 4) {
|
||||
for (j = 0; j < mlen; j++) {
|
||||
mode[i + j] = 'B';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue