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 ab0a10a..41d5237 100644
--- a/recmenuitem.c
+++ b/recmenuitem.c
@@ -1448,13 +1448,12 @@ eRecMenuState cRecMenuItemTime::ProcessKey(eKeys Key) {
// --- cRecMenuItemDay -------------------------------------------------------
cRecMenuItemDay::cRecMenuItemDay(cString text,
- time_t initialVal,
bool active,
time_t *callback,
eRecMenuState action) {
selectable = true;
this->text = text;
- this->currentVal = cTimer::SetTime(initialVal, 0);
+ this->currentVal = cTimer::SetTime(*callback, 0);
this->active = active;
this->callback = callback;
this->action = action;