]> git.eshelyaron.com Git - emacs.git/commit
Initialize full range in parse_menu_item
authorStefan Kangas <stefankangas@gmail.com>
Sat, 18 Jan 2025 23:48:08 +0000 (00:48 +0100)
committerEshel Yaron <me@eshelyaron.com>
Mon, 20 Jan 2025 15:54:07 +0000 (16:54 +0100)
commit386251962a53f63c392e29267745264340af0f94
treedc4ff4ec2b08435ccf66be99f0012d2ef3f24155
parent99e55d84e95398eb6a42ac504d1b3c8a0aa3296b
Initialize full range in parse_menu_item

* src/keyboard.c (parse_menu_item): Initialize the full range of item,
in case future changes makes ITEM_PROPERTY_ENABLE != ITEM_PROPERTY_MAX.
Problem reported by Pip Cet <pipcet@protonmail.com>.
Ref: https://mail.gnu.org/r/emacs-devel/2025-01/msg00680.html

(cherry picked from commit 2c7b08c60a20268b3f55c95699542c9df95fc786)
src/keyboard.c