psisetup: simplify 1968230641

Origin commit data
------------------
Commit: 57efc5fc79
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-07-28 (Tue, 28 Jul 2020)

Origin message was:
------------------
- psisetup: simplify 1968230641
This commit is contained in:
vanhofen
2020-07-28 22:46:49 +02:00
parent e7815cb6a0
commit 80a1485dc7

View File

@@ -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);