shithub: choc

Download patch

ref: 116e907c00887347def9fc6ed837a1e34c55b17d
parent: f6824b14fd2fcc81ad5e81d2655100ec0bb1af68
parent: 14f88b78ee79e66b105a4e9bba7bf165f889156c
author: Turo Lamminen <[email protected]>
date: Tue Jun 7 14:14:09 EDT 2022

Merge pull request #1468 from the-sageman/master

Fix out of bounds bug in the keyboard bind handling of setup

--- a/src/setup/keyboard.c
+++ b/src/setup/keyboard.c
@@ -67,7 +67,7 @@
                             &key_menu_screenshot,
                             &key_message_refresh, &key_multi_msg,
                             &key_multi_msgplayer[0], &key_multi_msgplayer[1],
-                            &key_multi_msgplayer[2], &key_multi_msgplayer[3] };
+                            &key_multi_msgplayer[2], &key_multi_msgplayer[3], NULL };
 
 static int *map_keys[] = { &key_map_north, &key_map_south, &key_map_east,
                            &key_map_west, &key_map_zoomin, &key_map_zoomout,