1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-01-24 04:15:57 +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

@@ -192,9 +192,9 @@ static void error_tag(char error_string[], int error_number, int err_origin) {
strcpy(error_buffer, error_string);
if (error_number >= ZINT_ERROR) {
sprintf(error_string, "Error %d: ", err_origin);
sprintf(error_string, _("Error %d: "), err_origin);
} else {
sprintf(error_string, "Warning %d: ", err_origin);
sprintf(error_string, _("Warning %d: "), err_origin);
}
strcat(error_string, error_buffer);