mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-29 22:35:27 -04:00
GRIDMATRIX codeword fixes, Project Nayuki optimized encoding modes
This commit is contained in:
parent
8295883987
commit
b1f4a12c78
6 changed files with 678 additions and 334 deletions
|
@ -401,7 +401,7 @@ static void qr_binary(unsigned char datastream[], const int version, const int t
|
|||
case 'N':
|
||||
/* Numeric mode */
|
||||
/* Mode indicator */
|
||||
if (version >= RMQR_VERSION) {
|
||||
if (version < RMQR_VERSION) {
|
||||
strcat(binary, "0001");
|
||||
} else {
|
||||
strcat(binary, "001");
|
||||
|
@ -3433,4 +3433,4 @@ int rmqr(struct zint_symbol *symbol, const unsigned char source[], size_t length
|
|||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue