changeset 60658:2b7e54e81973

(ENCODE_MENU_STRING) [HAVE_X_I18N]: Use ENCODE_SYSTEM.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 17 Mar 2005 01:37:31 +0000
parents aa6d20307ac6
children 7c1548d32609
files src/xmenu.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xmenu.c	Thu Mar 17 00:37:35 2005 +0000
+++ b/src/xmenu.c	Thu Mar 17 01:37:31 2005 +0000
@@ -137,6 +137,8 @@
 #ifdef USE_GTK
 /* gtk just uses utf-8.  */
 # define ENCODE_MENU_STRING(str) ENCODE_UTF_8 (str)
+#elif defined HAVE_X_I18N
+# define ENCODE_MENU_STRING(str) ENCODE_SYSTEM (str)
 #else
 # define ENCODE_MENU_STRING(str) string_make_unibyte (str)
 #endif