From b64b78ccfc425aefa20748b456e2bf263191af9a Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 17 Mar 2005 01:37:31 +0000 Subject: [PATCH] (ENCODE_MENU_STRING) [HAVE_X_I18N]: Use ENCODE_SYSTEM. --- src/xmenu.c | 2 ++ 1 file changed, 2 insertions(+) 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 **)); #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 -- 2.39.2