summaryrefslogtreecommitdiff
path: root/imon.c
diff options
context:
space:
mode:
authoranbr <vdr07@deltab.de>2009-06-03 13:56:16 +0200
committeranbr <vdr07@deltab.de>2009-06-03 13:56:16 +0200
commit603be1f41b0703d35dba6ba512a0d0893a69ecb9 (patch)
treec256da81e100c6efe8982de30e6760bf03f6eda1 /imon.c
parentf7474de7957369a17754f558890d803ce9d5dc0f (diff)
downloadvdr-plugin-imonlcd-603be1f41b0703d35dba6ba512a0d0893a69ecb9.tar.gz
vdr-plugin-imonlcd-603be1f41b0703d35dba6ba512a0d0893a69ecb9.tar.bz2
Add svdrp command 'ICON'
Diffstat (limited to 'imon.c')
-rw-r--r--imon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/imon.c b/imon.c
index d34cd49..ab850ce 100644
--- a/imon.c
+++ b/imon.c
@@ -349,7 +349,7 @@ int ciMonLCD::DrawText(int x, int y, const char* string)
*
* \param state This symbols to display.
*/
-bool ciMonLCD::icons(int state)
+bool ciMonLCD::icons(unsigned int state)
{
uint64_t icon = 0x0;
@@ -466,8 +466,8 @@ bool ciMonLCD::icons(int state)
}
icon |= ((state & eIconVolume) != 0) ? ICON_VOL : 0;
- icon |= ((state & eIconTIME) != 0) ? ICON_TIME : 0;
- icon |= ((state & eIconALARM) != 0) ? ICON_ALARM : 0;
+ icon |= ((state & eIconTime) != 0) ? ICON_TIME : 0;
+ icon |= ((state & eIconAlarm) != 0) ? ICON_ALARM : 0;
icon |= ((state & eIconRecording) != 0) ? ICON_REC : 0;
icon |= ((state & eIconRepeat) != 0) ? ICON_REP : 0;
icon |= ((state & eIconShuffle) != 0) ? ICON_SFL : 0;