Ultra: typos--

This commit is contained in:
Robin Stuart 2020-03-29 22:35:25 +01:00
parent b572bb513d
commit c23b4b9ef1

View File

@ -125,7 +125,7 @@ static const int tiles[] = {
* *
* symbol->option_1 = ULTRA_COMPRESSION; * 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. * 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 */ /* 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; current_mode = symbol_mode;
input_locn = 0; input_locn = 0;
do { do {