summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/wait-for-name.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/wait-for-name.c b/util/wait-for-name.c
index 13f2f5bd..6a27723e 100644
--- a/util/wait-for-name.c
+++ b/util/wait-for-name.c
@@ -50,6 +50,7 @@
#endif
#include <glib.h>
+#include <locale.h>
#include <telepathy-glib/telepathy-glib.h>
#include <telepathy-glib/telepathy-glib-dbus.h>
@@ -148,6 +149,8 @@ main (int argc,
GError *error = NULL;
GOptionContext *context;
+ setlocale (LC_ALL, "");
+
g_set_prgname ("mc-wait-for-name");
context = g_option_context_new ("- wait for a bus name");