projects
/
profile
/
ivi
/
org.tizen.video-player.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb9ca1b
)
[hb-view] setlocale (LC_ALL, "")
author
Behdad Esfahbod
<behdad@behdad.org>
Mon, 4 Apr 2011 19:36:51 +0000
(15:36 -0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Mon, 4 Apr 2011 19:36:51 +0000
(15:36 -0400)
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
patch
|
blob
|
history
diff --git
a/src/hb-view.c
b/src/hb-view.c
index
b82d274
..
3a5b9e7
100644
(file)
--- a/
src/hb-view.c
+++ b/
src/hb-view.c
@@
-35,6
+35,7
@@
#include <stdio.h>
#include <string.h>
#include <math.h>
+#include <locale.h>
#include <glib.h>
#include <hb-glib.h>
@@
-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);