Replace message functions with new infraestructure that supports abort

on error.
This commit is contained in:
Vreixo Formoso
2008-01-22 21:12:27 +01:00
parent 1070fe4cc6
commit 6964f02308
14 changed files with 296 additions and 216 deletions

View File

@@ -265,7 +265,8 @@ char *get_rr_fname(Ecma119Image *t, const char *str)
ret = strconv(str, t->input_charset, t->output_charset, &name);
if (ret < 0) {
iso_msg_sorry(t->image->id, LIBISO_CHARSET_ERROR,
/* TODO we should check for possible cancelation */
iso_msg_submit(t->image->id, ISO_FILENAME_WRONG_CHARSET,
"Charset conversion error. Can't convert %s from %s to %s",
str, t->input_charset, t->output_charset);