From cab6f65bba560ac1651d9152f1ecf12eb88eca74 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 4 Apr 2011 15:36:51 -0400 Subject: [PATCH] [hb-view] setlocale (LC_ALL, "") For now we don't use anything from the locale, but we should default to using $LANG, etc, if --language is not specified. Right? --- src/hb-view.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/hb-view.c b/src/hb-view.c index b82d27438..3a5b9e752 100644 --- a/src/hb-view.c +++ b/src/hb-view.c @@ -35,6 +35,7 @@ #include #include #include +#include #include #include @@ -499,6 +500,8 @@ main (int argc, char **argv) { cairo_status_t status; + setlocale (LC_ALL, ""); + parse_opts (argc, argv); FT_Init_FreeType (&ft_library);