# HG changeset patch # User Stefan Monnier # Date 1111023451 0 # Node ID 2b7e54e81973efe8a3085e071e5722af64400f51 # Parent aa6d20307ac6713060a73f0ec9607a6f6efed561 (ENCODE_MENU_STRING) [HAVE_X_I18N]: Use ENCODE_SYSTEM. diff -r aa6d20307ac6 -r 2b7e54e81973 src/xmenu.c --- 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