[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?
This commit is contained in:
parent
fb9ca1bfab
commit
cab6f65bba
|
@ -35,6 +35,7 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
#include <locale.h>
|
||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <hb-glib.h>
|
#include <hb-glib.h>
|
||||||
|
@ -499,6 +500,8 @@ main (int argc, char **argv)
|
||||||
{
|
{
|
||||||
cairo_status_t status;
|
cairo_status_t status;
|
||||||
|
|
||||||
|
setlocale (LC_ALL, "");
|
||||||
|
|
||||||
parse_opts (argc, argv);
|
parse_opts (argc, argv);
|
||||||
|
|
||||||
FT_Init_FreeType (&ft_library);
|
FT_Init_FreeType (&ft_library);
|
||||||
|
|
Loading…
Reference in New Issue