From c23b4b9ef1edf4c68ccba59b364ec0b4d6100db2 Mon Sep 17 00:00:00 2001 From: Robin Stuart Date: Sun, 29 Mar 2020 22:35:25 +0100 Subject: [PATCH] Ultra: typos-- --- backend/ultra.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/ultra.c b/backend/ultra.c index cc3a43ef..cbad8832 100644 --- a/backend/ultra.c +++ b/backend/ultra.c @@ -125,7 +125,7 @@ static const int tiles[] = { * * symbol->option_1 = ULTRA_COMPRESSION; * - * Code compression should be enabled by default when is has been implemented according to + * Code compression should be enabled by default when it has been implemented according to * a more reliable version of the specification. */ @@ -705,7 +705,7 @@ int ultra_generate_codewords(struct zint_symbol *symbol, const unsigned char sou } /* Attempt encoding in all three modes to see which offers best compaction and store results */ - if (symbol->option_1 != ULTRA_COMPRESSION) { + if (symbol->option_1 == ULTRA_COMPRESSION) { current_mode = symbol_mode; input_locn = 0; do {