mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
QR optimize encoding mode: remove extraneous newlines
This commit is contained in:
parent
e331fd1e90
commit
3209b32087
@ -1809,7 +1809,6 @@ static void micro_qr_m1(struct zint_symbol *symbol, char binary_data[]) {
|
|||||||
bin_append(0, 4, binary_data);
|
bin_append(0, 4, binary_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
data_codewords = 3;
|
data_codewords = 3;
|
||||||
ecc_codewords = 2;
|
ecc_codewords = 2;
|
||||||
|
|
||||||
@ -1888,7 +1887,6 @@ static void micro_qr_m2(struct zint_symbol *symbol, char binary_data[], const in
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (ecc_mode == LEVEL_L) {
|
if (ecc_mode == LEVEL_L) {
|
||||||
data_codewords = 5;
|
data_codewords = 5;
|
||||||
ecc_codewords = 5;
|
ecc_codewords = 5;
|
||||||
@ -1985,7 +1983,6 @@ static void micro_qr_m3(struct zint_symbol *symbol, char binary_data[], const in
|
|||||||
bin_append(0, 4, binary_data);
|
bin_append(0, 4, binary_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (ecc_mode == LEVEL_L) {
|
if (ecc_mode == LEVEL_L) {
|
||||||
data_codewords = 11;
|
data_codewords = 11;
|
||||||
ecc_codewords = 6;
|
ecc_codewords = 6;
|
||||||
@ -2089,7 +2086,6 @@ static void micro_qr_m4(struct zint_symbol *symbol, char binary_data[], const in
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (ecc_mode == LEVEL_L) {
|
if (ecc_mode == LEVEL_L) {
|
||||||
data_codewords = 16;
|
data_codewords = 16;
|
||||||
ecc_codewords = 8;
|
ecc_codewords = 8;
|
||||||
|
Loading…
Reference in New Issue
Block a user