Skip to content
Snippets Groups Projects
Commit 45fd53ca authored by Benedikt Meurer's avatar Benedikt Meurer
Browse files

Fixes bind_textdomain_codeset()

(Old svn revision: 3721)
parent d867329e
No related branches found
No related tags found
No related merge requests found
......@@ -626,7 +626,9 @@ run_xfce_settings_dialog (McsPlugin * mp)
#ifdef ENABLE_NLS
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
#ifdef HAVE_BIND_TEXTDOMAIN_CODESET
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
#endif
textdomain (GETTEXT_PACKAGE);
#endif
......
......@@ -63,7 +63,9 @@ mcs_plugin_init (McsPlugin * mp)
#ifdef ENABLE_NLS
/* This is required for UTF-8 at least - Please don't remove it */
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
#ifdef HAVE_BIND_TEXTDOMAIN_CODESET
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
#endif
textdomain (GETTEXT_PACKAGE);
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment