summaryrefslogtreecommitdiff
path: root/recmenuitem.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-07-18 17:48:32 +0200
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-07-19 15:59:44 +0200
commit152662d519a0e4bcaeafc2c7af14d48bbdd8e232 (patch)
treecddb0df3b566968db29cb1da1f0770a448d66688 /recmenuitem.c
parentb17fd9b7aa5aef6327b67c9caedf858a6cf859f2 (diff)
downloadvdr-plugin-tvguide-152662d519a0e4bcaeafc2c7af14d48bbdd8e232.tar.gz
vdr-plugin-tvguide-152662d519a0e4bcaeafc2c7af14d48bbdd8e232.tar.bz2
Rework cRecMenuItemDayChooser
Diffstat (limited to 'recmenuitem.c')
-rw-r--r--recmenuitem.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/recmenuitem.c b/recmenuitem.c
index 41d5237..b8fca6d 100644
--- a/recmenuitem.c
+++ b/recmenuitem.c
@@ -2100,14 +2100,13 @@ eRecMenuState cRecMenuItemChannelChooser::ProcessKey(eKeys Key) {
// --- cRecMenuItemDayChooser -------------------------------------------------------
cRecMenuItemDayChooser::cRecMenuItemDayChooser(cString text,
- int weekdays,
bool active,
int *callback) {
selectable = true;
this->text = text;
+ this->weekdays = *callback;
if (weekdays < 1)
weekdays *= -1;
- this->weekdays = weekdays;
this->active = active;
this->callback = callback;
height = 3 * font->Height() / 2;