Closed loophole for undefined variable with new call

iso_write_opts_set_untranslated_name_len()
This commit is contained in:
Thomas Schmitt 2011-01-16 13:28:07 +01:00
parent 55d6ae343d
commit 45ffdef845

View File

@ -43,6 +43,7 @@ int get_iso_name(Ecma119Image *img, IsoNode *iso, char **name)
if (img->untranslated_name_len > 0) { if (img->untranslated_name_len > 0) {
ascii_name = iso->name; ascii_name = iso->name;
ret = 1;
} else { } else {
ret = str2ascii(img->input_charset, iso->name, &ascii_name); ret = str2ascii(img->input_charset, iso->name, &ascii_name);
free_ascii_name = 1; free_ascii_name = 1;