summaryrefslogtreecommitdiff
path: root/recmenuitem.c
diff options
context:
space:
mode:
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;