(get_charset): Make sure output_charset is not NULL.
Showing
1 changed file
with
3 additions
and
3 deletions
... | @@ -92,10 +92,10 @@ get_charset () | ... | @@ -92,10 +92,10 @@ get_charset () |
92 | output_charset = xstrdup (output_charset); | 92 | output_charset = xstrdup (output_charset); |
93 | else | 93 | else |
94 | output_charset = mu_charset_lookup (lang, terr); | 94 | output_charset = mu_charset_lookup (lang, terr); |
95 | |||
96 | if (!output_charset) | ||
97 | output_charset = "ASCII"; | ||
98 | } | 95 | } |
96 | |||
97 | if (!output_charset) | ||
98 | output_charset = "ASCII"; | ||
99 | } | 99 | } |
100 | return output_charset; | 100 | return output_charset; |
101 | } | 101 | } | ... | ... |
-
Please register or sign in to post a comment