Minor formatting

This commit is contained in:
Maschell 2018-09-14 20:26:31 +02:00
parent e866e6321c
commit 3acf94d049

View File

@ -137,7 +137,6 @@ void ConfigUtils::configMenuOpenedCallback(wups_overlay_options_type_t screen, v
maxSelect--; maxSelect--;
} }
} }
} else { } else {
ScreenUtils::printTextOnScreen(screen, x, screen_y_pos++," %s",curConfig_->getName().c_str()); ScreenUtils::printTextOnScreen(screen, x, screen_y_pos++," %s",curConfig_->getName().c_str());
} }
@ -213,6 +212,7 @@ void ConfigUtils::configMenuOpenedCallback(wups_overlay_options_type_t screen, v
for (auto & curCat : curConfig->getCategories()) { for (auto & curCat : curConfig->getCategories()) {
cur_visible_rows += 2; cur_visible_rows += 2;
for (auto & curItem : curCat->getItems()) { for (auto & curItem : curCat->getItems()) {
cur_visible_rows++; cur_visible_rows++;
if(!ignore && curSelect == inSelect) { if(!ignore && curSelect == inSelect) {
if(curSelect == 0) { if(curSelect == 0) {