From 3d895c6655d48ad47804ca16e1003dd434dbc781 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Mon, 6 Nov 2023 12:28:10 -0800 Subject: [PATCH] MainWindow: null terminate accel arrays --- src/MainWindow.vala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/MainWindow.vala b/src/MainWindow.vala index 1f8d51e48e..e34eea6626 100644 --- a/src/MainWindow.vala +++ b/src/MainWindow.vala @@ -73,9 +73,9 @@ namespace Terminal { public const string ACTION_OPEN_IN_BROWSER = "action-open-in-browser"; public const string ACTION_RELOAD_PREFERRED_ACCEL = "R"; // Shown in context menu - public const string[] ACCELS_ZOOM_DEFAULT_FONT = { "0", "KP_0" }; - public const string[] ACCELS_ZOOM_IN_FONT = { "plus", "equal", "KP_Add" }; - public const string[] ACCELS_ZOOM_OUT_FONT = { "minus", "KP_Subtract" }; + public const string[] ACCELS_ZOOM_DEFAULT_FONT = { "0", "KP_0", null }; + public const string[] ACCELS_ZOOM_IN_FONT = { "plus", "equal", "KP_Add", null }; + public const string[] ACCELS_ZOOM_OUT_FONT = { "minus", "KP_Subtract", null }; private static Gee.MultiMap action_accelerators = new Gee.HashMultiMap ();