From: Gerd Moellmann Date: Mon, 28 May 2001 16:20:48 +0000 (+0000) Subject: (xmenu_show) [!HAVE_MULTILINGUAL_MENU]: Don't overwrite X-Git-Tag: emacs-pretest-21.0.104~359 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3ec838d7474e3d8e34948d3823f4f1c0c7e07b73;p=emacs.git (xmenu_show) [!HAVE_MULTILINGUAL_MENU]: Don't overwrite an item's name with its key description in case the description is a multibyte string. --- 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) if (STRINGP (item_name) && STRING_MULTIBYTE (item_name)) item_name = string_make_unibyte (item_name); if (STRINGP (descrip) && STRING_MULTIBYTE (descrip)) - item_name = string_make_unibyte (descrip); + descrip = string_make_unibyte (descrip); #endif wv = xmalloc_widget_value ();