keybind_setup.cpp: fix warning

Origin commit data
------------------
Commit: dba61a60c0
Author: GetAway <get-away@t-online.de>
Date: 2018-12-05 (Wed, 05 Dec 2018)
This commit is contained in:
GetAway
2018-12-05 13:35:49 +01:00
committed by vanhofen
parent 7d6a79b6ed
commit 98ee9d7ec0

View File

@@ -553,7 +553,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);