From 23e467deaf1dffaf5c82d13707c4af54a764f460 Mon Sep 17 00:00:00 2001 From: myk002 Date: Mon, 28 Nov 2022 15:50:05 -0800 Subject: [PATCH] use consistent bounds checking style in hotkeys --- plugins/hotkeys.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/hotkeys.cpp b/plugins/hotkeys.cpp index 0e9e0953c..6bb6a1600 100644 --- a/plugins/hotkeys.cpp +++ b/plugins/hotkeys.cpp @@ -84,7 +84,7 @@ static void find_active_keybindings(df::viewscreen *screen, bool filtermenu) { valid_keys.push_back(string(&c, 1)); } - for (int i = 1; i < 13; i++) { + for (int i = 1; i <= 12; i++) { valid_keys.push_back("F" + int_to_string(i)); }