From c38f1046f3114ad5fb841db82203724ce6a34b33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Sun, 19 May 2013 05:26:20 +0200 Subject: [PATCH] Don't abort() on setlocale() failure --- src/sdtui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");