From 72b33c9520f234f37b2c05ee8c5771588b1704bf Mon Sep 17 00:00:00 2001 From: GetAway Date: Wed, 5 Dec 2018 13:35:49 +0100 Subject: [PATCH] keybind_setup.cpp: fix warning --- src/gui/keybind_setup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/keybind_setup.cpp b/src/gui/keybind_setup.cpp index 980980b4d..aa1a4d4aa 100644 --- a/src/gui/keybind_setup.cpp +++ b/src/gui/keybind_setup.cpp @@ -545,7 +545,7 @@ void CKeybindSetup::showKeyBindSpecialSetup(CMenuWidget *bindSettings_special) else nkey = NKEY_PIC_MODE; - for (nkey; nkey <= NKEY_PIC_SIZE; nkey++) { + for (; nkey <= NKEY_PIC_SIZE; nkey++) { CMenuOptionChooser * mf = new CMenuOptionChooser(key_settings[nkey].keydescription, key_settings[nkey].keyvalue_p, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true); mf->setHint("", key_settings[nkey].hint); bindSettings_special->addItem(mf);