aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2005-03-17 01:37:31 +0000
committerStefan Monnier2005-03-17 01:37:31 +0000
commitb64b78ccfc425aefa20748b456e2bf263191af9a (patch)
treeece547f71148044ee3ee262a8c168eaaca52c96f /src
parent53eda4818fc11afa9e10522ad028ed3b1785868e (diff)
downloademacs-b64b78ccfc425aefa20748b456e2bf263191af9a.tar.gz
emacs-b64b78ccfc425aefa20748b456e2bf263191af9a.zip
(ENCODE_MENU_STRING) [HAVE_X_I18N]: Use ENCODE_SYSTEM.
Diffstat (limited to 'src')
-rw-r--r--src/xmenu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index 0de318323a3..0cb0b73b71d 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -137,6 +137,8 @@ static Lisp_Object xdialog_show P_ ((FRAME_PTR, int, Lisp_Object, char **));
137#ifdef USE_GTK 137#ifdef USE_GTK
138/* gtk just uses utf-8. */ 138/* gtk just uses utf-8. */
139# define ENCODE_MENU_STRING(str) ENCODE_UTF_8 (str) 139# define ENCODE_MENU_STRING(str) ENCODE_UTF_8 (str)
140#elif defined HAVE_X_I18N
141# define ENCODE_MENU_STRING(str) ENCODE_SYSTEM (str)
140#else 142#else
141# define ENCODE_MENU_STRING(str) string_make_unibyte (str) 143# define ENCODE_MENU_STRING(str) string_make_unibyte (str)
142#endif 144#endif