]> git.eshelyaron.com Git - emacs.git/commit
Handle multibyte mode line spec chars (bug#76517)
authorPip Cet <pipcet@protonmail.com>
Mon, 24 Feb 2025 20:46:49 +0000 (20:46 +0000)
committerEshel Yaron <me@eshelyaron.com>
Wed, 26 Feb 2025 09:39:07 +0000 (10:39 +0100)
commitb3634d74b02e7ef69371fa65a92f4db1a3ff7bac
treef166128ebbad1cf6308a1f016e34f5deb3d3909d
parentf507325f81c165ddad5f3d63cfcfb729b14510b6
Handle multibyte mode line spec chars (bug#76517)

* src/xdisp.c (display_mode_element): Make 'c' an 'int'.  Use
'string_char_and_length' to fetch the character from a multibyte
string, not 'SREF'.

(cherry picked from commit 1f891898d490380ea59f21fa8ea4e7f7364a1a79)
src/xdisp.c