projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
2c99aee
)
fixed segfault of g_markup_printf_escaped which needs utf-8 strings
author
Arun Persaud
<arun@nubati.net>
Tue, 19 Feb 2013 01:09:30 +0000 (17:09 -0800)
committer
Arun Persaud
<arun@nubati.net>
Tue, 19 Feb 2013 01:09:30 +0000 (17:09 -0800)
defined text-domain as utf-8 solved this
gtk/xboard.c
patch
|
blob
|
history
diff --git
a/gtk/xboard.c
b/gtk/xboard.c
index
88d6557
..
a4f721d
100644
(file)
--- a/
gtk/xboard.c
+++ b/
gtk/xboard.c
@@
-732,6
+732,7
@@
main (int argc, char **argv)
// }
bindtextdomain(PACKAGE, LOCALEDIR);
+ bind_textdomain_codeset(PACKAGE, "UTF-8"); // needed when creating markup for the clocks
textdomain(PACKAGE);
#endif