diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2013-05-19 05:26:20 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2013-05-19 05:26:20 +0200 |
commit | c38f1046f3114ad5fb841db82203724ce6a34b33 (patch) | |
tree | 7e955cc6da08f69a790b1af5fd0c2716d910fd83 /src/sdtui.c | |
parent | a48bcd194868f901f226506f7699638b517adc9e (diff) | |
download | tdv-c38f1046f3114ad5fb841db82203724ce6a34b33.tar.gz tdv-c38f1046f3114ad5fb841db82203724ce6a34b33.tar.xz tdv-c38f1046f3114ad5fb841db82203724ce6a34b33.zip |
Don't abort() on setlocale() failure
Diffstat (limited to 'src/sdtui.c')
-rw-r--r-- | src/sdtui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sdtui.c b/src/sdtui.c index c20e9ae..7c69c54 100644 --- a/src/sdtui.c +++ b/src/sdtui.c @@ -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"); |