diff options
author | Akira TAGOH <akira@tagoh.org> | 2018-03-15 12:17:52 +0900 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2018-03-15 12:36:46 +0900 |
commit | 98eaef69af1350e459bf9c175476d3b772968874 (patch) | |
tree | 0473b669ade25f61aece2c9daadf038c324a0d1d /fc-conflist | |
parent | fb7be6d60586302e89b7bbc894b91cb6cd33fbf3 (diff) |
Leave the locale setting to applications
https://bugs.freedesktop.org/show_bug.cgi?id=105492
Diffstat (limited to 'fc-conflist')
-rw-r--r-- | fc-conflist/fc-conflist.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fc-conflist/fc-conflist.c b/fc-conflist/fc-conflist.c index d02273b7..5c40a0f0 100644 --- a/fc-conflist/fc-conflist.c +++ b/fc-conflist/fc-conflist.c @@ -38,6 +38,7 @@ #include <unistd.h> #include <stdlib.h> #include <string.h> +#include <locale.h> #ifdef ENABLE_NLS #include <libintl.h> @@ -102,6 +103,7 @@ main (int argc, char **argv) #if HAVE_GETOPT_LONG || HAVE_GETOPT int c; + setlocale (LC_ALL, ""); #if HAVE_GETOPT_LONG while ((c = getopt_long (argc, argv, "Vh", longopts, NULL)) != -1) #else |