From 3209b3208767fb7d61b9b410c9b0c71b2427c352 Mon Sep 17 00:00:00 2001 From: gitlost Date: Mon, 16 Dec 2019 17:50:58 +0000 Subject: [PATCH] QR optimize encoding mode: remove extraneous newlines --- backend/qr.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/backend/qr.c b/backend/qr.c index cae30e9a..7d85b29b 100644 --- a/backend/qr.c +++ b/backend/qr.c @@ -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;