Improve wording of error 227

Fixes #87 reported by Ken Yap
This commit is contained in:
Robin Stuart 2017-12-24 14:51:12 +00:00
parent c55340f4f3
commit 670000b7ea

View File

@ -1245,7 +1245,7 @@ int ZBarcode_Print(struct zint_symbol *symbol, int rotate_angle) {
if (error_number == ZINT_ERROR_INVALID_OPTION) { if (error_number == ZINT_ERROR_INVALID_OPTION) {
/* If libpng is not installed */ /* If libpng is not installed */
strcpy(symbol->errtxt, "227: Unknown output format"); strcpy(symbol->errtxt, "227: No PNG support - compile with libpng-devel to resolve");
} }
error_tag(symbol->errtxt, error_number); error_tag(symbol->errtxt, error_number);