diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-07-29 11:38:06 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-07-29 11:38:06 +0000 |
commit | b8ecaea95d068053e6afe4ea3da2fc328c3f59bb (patch) | |
tree | 47df71e9f15e74589749ac8b4bbe31b7a120889a | |
parent | 3b549d4d356b21094add8186bc1f80447047c4c5 (diff) | |
parent | 0956ddc863111e46600fc0b1766bb6b7067d25b7 (diff) | |
download | pango-b8ecaea95d068053e6afe4ea3da2fc328c3f59bb.tar.gz |
Merge branch 'wip/lantw/pango-list-call-setlocale-in-main-function' into 'master'
pango-list: Call setlocale in main function
See merge request GNOME/pango!109
-rw-r--r-- | utils/pango-list.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/pango-list.c b/utils/pango-list.c index f22792df..3d360975 100644 --- a/utils/pango-list.c +++ b/utils/pango-list.c @@ -25,6 +25,7 @@ #include <hb-ot.h> #include <glib/gstdio.h> #include <stdlib.h> +#include <locale.h> /* FIXME: This doesn't work if the font has an avar table */ static float @@ -61,6 +62,7 @@ main (int argc, GError *error = NULL; g_set_prgname ("pango-list"); + setlocale (LC_ALL, ""); context = g_option_context_new (""); g_option_context_add_main_entries (context, entries, NULL); |