Replace message functions with new infraestructure that supports abort
on error.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user