aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2001-05-28 16:20:48 +0000
committerGerd Moellmann2001-05-28 16:20:48 +0000
commit3ec838d7474e3d8e34948d3823f4f1c0c7e07b73 (patch)
treed5a0af29c28874080ec175754804865af7c3dcfa /src
parent8e3f37811ab26d767744260db64811b5f8eb946b (diff)
downloademacs-3ec838d7474e3d8e34948d3823f4f1c0c7e07b73.tar.gz
emacs-3ec838d7474e3d8e34948d3823f4f1c0c7e07b73.zip
(xmenu_show) [!HAVE_MULTILINGUAL_MENU]: Don't overwrite
an item's name with its key description in case the description is a multibyte string.
Diffstat (limited to 'src')
-rw-r--r--src/xmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index 6317c126286..e87743b0057 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -2077,7 +2077,7 @@ xmenu_show (f, x, y, for_click, keymaps, title, error)
2077 if (STRINGP (item_name) && STRING_MULTIBYTE (item_name)) 2077 if (STRINGP (item_name) && STRING_MULTIBYTE (item_name))
2078 item_name = string_make_unibyte (item_name); 2078 item_name = string_make_unibyte (item_name);
2079 if (STRINGP (descrip) && STRING_MULTIBYTE (descrip)) 2079 if (STRINGP (descrip) && STRING_MULTIBYTE (descrip))
2080 item_name = string_make_unibyte (descrip); 2080 descrip = string_make_unibyte (descrip);
2081#endif 2081#endif
2082 2082
2083 wv = xmalloc_widget_value (); 2083 wv = xmalloc_widget_value ();