From 98ee9d7ec0c464b9d7fdbb7f549486d5f07e7b72 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 Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/dba61a60c0e37b9d36339bf09287b06ca542eab1 Author: GetAway Date: 2018-12-05 (Wed, 05 Dec 2018) --- 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 0e86ddddc..6c951ed82 100644 --- a/src/gui/keybind_setup.cpp +++ b/src/gui/keybind_setup.cpp @@ -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);