Commit 12eef9b5 12eef9b55bc53cdeeb81f2e68442eec4a3d1db71 by Sergey Poznyakoff

(get_charset): Make sure output_charset is not NULL.

1 parent ed72952c
...@@ -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 }
......