Correct view of vdr's switchtimer

This commit is contained in:
kamel5 2018-04-01 12:09:13 +02:00 committed by kamel5
parent f592012442
commit 8f1f2dea33

View File

@ -161,8 +161,10 @@ void cEpgGrid::drawText() {
#ifdef USE_SWITCHONLY #ifdef USE_SWITCHONLY
if (timer->HasFlags(tfSwitchOnly)) if (timer->HasFlags(tfSwitchOnly))
drawIcon("Switch", theme.Color(clrButtonYellow)); drawIcon("Switch", theme.Color(clrButtonYellow));
#endif /* SWITCHONLY */
else if (timer->HasFlags(tfActive)) else if (timer->HasFlags(tfActive))
#else /* SWITCHONLY */
if (timer->HasFlags(tfActive))
#endif /* SWITCHONLY */
drawIcon("REC", theme.Color(clrButtonRed)); drawIcon("REC", theme.Color(clrButtonRed));
else else
drawIcon("REC", theme.Color(clrButtonGreen)); drawIcon("REC", theme.Color(clrButtonGreen));