QR optimize encoding mode: remove extraneous newlines

This commit is contained in:
gitlost 2019-12-16 17:50:58 +00:00
parent e331fd1e90
commit 3209b32087

View File

@ -1809,7 +1809,6 @@ static void micro_qr_m1(struct zint_symbol *symbol, char binary_data[]) {
bin_append(0, 4, binary_data);
}
data_codewords = 3;
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) {
data_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);
}
if (ecc_mode == LEVEL_L) {
data_codewords = 11;
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) {
data_codewords = 16;
ecc_codewords = 8;