mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-24 05:17:05 +00:00
general: fix some typos using https://github.com/crate-ci/typos
(see gs1-syntax-engine PR #15, props Viktor Szépe)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user