Don't abort() on setlocale() failure

This commit is contained in:
Přemysl Eric Janouch 2013-05-19 05:26:20 +02:00
parent a48bcd1948
commit c38f1046f3
1 changed files with 1 additions and 1 deletions

View File

@ -1056,7 +1056,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS
};
if (!setlocale (LC_ALL, ""))
abort ();
g_printerr ("%s: %s\n", _("Warning"), _("failed to set the locale"));
bindtextdomain (GETTEXT_PACKAGE, GETTEXT_DIRNAME);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");