diff options
| author | Stefan Monnier | 2005-03-17 01:37:31 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2005-03-17 01:37:31 +0000 |
| commit | b64b78ccfc425aefa20748b456e2bf263191af9a (patch) | |
| tree | ece547f71148044ee3ee262a8c168eaaca52c96f /src | |
| parent | 53eda4818fc11afa9e10522ad028ed3b1785868e (diff) | |
| download | emacs-b64b78ccfc425aefa20748b456e2bf263191af9a.tar.gz emacs-b64b78ccfc425aefa20748b456e2bf263191af9a.zip | |
(ENCODE_MENU_STRING) [HAVE_X_I18N]: Use ENCODE_SYSTEM.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xmenu.c | 2 |
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 |