]> git.eshelyaron.com Git - emacs.git/commit
Fix assertion violations due to non-ASCII text in menus
authorEli Zaretskii <eliz@gnu.org>
Fri, 13 Sep 2019 07:47:28 +0000 (10:47 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 13 Sep 2019 07:47:28 +0000 (10:47 +0300)
commit5940ac63300c71b983b173c99c718920c179cbf8
treeb6b6e715885d10200623359603a7e3615009a5d0
parenta4c471c98474a249948793aad386e4efc64a1c96
Fix assertion violations due to non-ASCII text in menus

* src/xdisp.c (tool_bar_height, redisplay_tool_bar)
(display_menu_bar): If the Lisp string to be displayed in the
menu-bar or tool-bar window is multibyte, tell the display
engine to treat it as multibyte, instead of relying on the
initial determination by init_iterator (which is based on the
multibyteness of the current buffer).  (Bug#37385)
src/xdisp.c