diff options
author | Christian Pointner <equinox@spreadspace.org> | 2014-10-08 16:35:18 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2014-10-08 16:35:18 +0200 |
commit | f1e4fa2f6ef2b216abef4b90e0fba4362a77829f (patch) | |
tree | e3b6e47aa3fc3ed11c67ec6aee815b9da491bf85 /src/options-launch.c | |
parent | complain about unkown command line arguments (diff) |
fixed locale issue at command line parser
Diffstat (limited to 'src/options-launch.c')
-rw-r--r-- | src/options-launch.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/options-launch.c b/src/options-launch.c index 16e855d..0615692 100644 --- a/src/options-launch.c +++ b/src/options-launch.c @@ -42,6 +42,7 @@ #include <string.h> #include <glib.h> #include <gst/gst.h> +#include <locale.h> static void options_defaults(options_t* opt) { @@ -83,6 +84,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_); |