mirror of
https://git.code.sf.net/p/zint/code
synced 2026-05-14 18:13:53 +00: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