summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2013-05-19 05:26:20 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2013-05-19 05:26:20 +0200
commitc38f1046f3114ad5fb841db82203724ce6a34b33 (patch)
tree7e955cc6da08f69a790b1af5fd0c2716d910fd83
parenta48bcd194868f901f226506f7699638b517adc9e (diff)
downloadtdv-c38f1046f3114ad5fb841db82203724ce6a34b33.tar.gz
tdv-c38f1046f3114ad5fb841db82203724ce6a34b33.tar.xz
tdv-c38f1046f3114ad5fb841db82203724ce6a34b33.zip
Don't abort() on setlocale() failure
-rw-r--r--src/sdtui.c2
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");