Mercurial > emacs
changeset 37929:ca726d19c1be
(xmenu_show) [!HAVE_MULTILINGUAL_MENU]: Don't overwrite
an item's name with its key description in case the description
is a multibyte string.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 28 May 2001 16:20:48 +0000 |
parents | 689e6d3dbdc2 |
children | ee47b5c14208 |
files | src/xmenu.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xmenu.c Mon May 28 15:09:44 2001 +0000 +++ b/src/xmenu.c Mon May 28 16:20:48 2001 +0000 @@ -2077,7 +2077,7 @@ 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 ();