1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-01-26 13:25:58 +00:00

Further clean up of error messages

This commit is contained in:
Robin Stuart
2020-11-08 08:32:05 +00:00
parent 8f6f8b2cf5
commit 9ca8bc3bc0
8 changed files with 47 additions and 57 deletions

View File

@@ -937,7 +937,7 @@ INTERNAL int ultracode(struct zint_symbol *symbol, const unsigned char source[],
total_cws = data_cw_count + qcc + 3; // 3 == TCC pattern + RSEC pattern + QCC pattern
if (total_cws > 282) {
symbol->err_origin = 591;
strcpy(symbol->errtxt, _("Data too long for selected error correction capacity"));
strcpy(symbol->errtxt, _("Input too long for selected error correction level"));
return ZINT_ERROR_TOO_LONG;
}