silence compiler

This commit is contained in:
thrust26 2019-12-19 18:34:21 +01:00
parent b0efaa6830
commit fccee3e672
1 changed files with 2 additions and 1 deletions

View File

@ -682,7 +682,8 @@ void Console::changeVerticalCenter(int direction)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void Console::updateVcenter(Int32 vcenter)
{
if (vcenter > TIAConstants::maxVcenter | vcenter < TIAConstants::minVcenter) return;
if ((vcenter > TIAConstants::maxVcenter) | (vcenter < TIAConstants::minVcenter))
return;
if (vcenter != myTIA->vcenter()) myTIA->setVcenter(vcenter);
}