1
0
mirror of https://git.code.sf.net/p/zint/code synced 2025-12-24 05:17:05 +00:00
(see gs1-syntax-engine PR #15, props Viktor Szépe)
This commit is contained in:
gitlost
2025-09-07 17:40:43 +01:00
parent 9b4d097516
commit ad95d8f2b0
26 changed files with 64 additions and 63 deletions

View File

@@ -1794,7 +1794,7 @@ INTERNAL int zint_qrcode(struct zint_symbol *symbol, struct zint_seg segs[], con
}
}
/* Ensure maxium error correction capacity unless user-specified */
/* Ensure maximum error correction capacity unless user-specified */
if (symbol->option_1 == -1 || symbol->option_1 - 1 != ecc_level) {
if (est_binlen <= qr_data_codewords[QR_LEVEL_H][version - 1] * 8) {
ecc_level = QR_LEVEL_H;
@@ -2530,7 +2530,7 @@ static void rmqr_setup_grid(unsigned char *grid, const int h_size, const int v_s
grid[(h_size * 2) - 2] = 0x10;
grid[(h_size * 2) - 1] = 0x11;
/* Add seperator */
/* Add separator */
for (i = 0; i < 7; i++) {
grid[(i * h_size) + 7] = 0x20;
}