From: Stefan Monnier Date: Thu, 17 Mar 2005 01:37:31 +0000 (+0000) Subject: (ENCODE_MENU_STRING) [HAVE_X_I18N]: Use ENCODE_SYSTEM. X-Git-Tag: ttn-vms-21-2-B4~1760 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b64b78ccfc425aefa20748b456e2bf263191af9a;p=emacs.git (ENCODE_MENU_STRING) [HAVE_X_I18N]: Use ENCODE_SYSTEM. --- 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