diff --git a/src/gui/psisetup.cpp b/src/gui/psisetup.cpp index 83a4386c9..82adcb741 100644 --- a/src/gui/psisetup.cpp +++ b/src/gui/psisetup.cpp @@ -190,7 +190,7 @@ int CPSISetup::exec (CMenuTarget * parent, const std::string &) direction = -1; /* fall through */ case CRCInput::RC_down: - if (selected + direction > -1 && selected + direction < (PSI_SCALE_COUNT - 1)) + if (selected + direction > -1 && selected + direction < PSI_RESET) { psi_list[selected].selected = false; paintSlider (selected);