diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -57,6 +57,15 @@ main(int argc, char **argv) set_program_name(argv[0]); +#if defined(ENABLE_NLS) && ENABLE_NLS + bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR); +#if defined(HAVE_BIND_TEXTDOMAIN_CODESET) && HAVE_BIND_TEXTDOMAIN_CODESET + bind_textdomain_codeset(PACKAGE, "UTF-8"); +#endif + textdomain(PACKAGE); + setlocale(LC_ALL, ""); +#endif + font = NULL; w = 0; h = 0; |