mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
GRIDMATRIX codeword fixes, Project Nayuki optimized encoding modes
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user