From f1e4fa2f6ef2b216abef4b90e0fba4362a77829f Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 8 Oct 2014 16:35:18 +0200 Subject: fixed locale issue at command line parser --- src/options-rtp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/options-rtp.c') diff --git a/src/options-rtp.c b/src/options-rtp.c index 3a1aab8..2e13c1b 100644 --- a/src/options-rtp.c +++ b/src/options-rtp.c @@ -42,6 +42,7 @@ #include #include #include +#include static void options_defaults(options_t* opt) { @@ -237,6 +238,7 @@ int options_parse(options_t* opt, int argc, char* argv[]) if(!opt) return -1; + setlocale (LC_ALL, ""); options_defaults(opt); g_free(opt->progname_); -- cgit v1.2.3