summaryrefslogtreecommitdiff
path: root/recmenuitem.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-07-18 17:13:58 +0200
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-07-19 11:38:07 +0200
commitb17fd9b7aa5aef6327b67c9caedf858a6cf859f2 (patch)
treea831adbc8dccc9131dbf68c50e16a71551733678 /recmenuitem.c
parentfb165b2b431fa14c45ba19c869ff4a387339da48 (diff)
downloadvdr-plugin-tvguide-b17fd9b7aa5aef6327b67c9caedf858a6cf859f2.tar.gz
vdr-plugin-tvguide-b17fd9b7aa5aef6327b67c9caedf858a6cf859f2.tar.bz2
Rework cRecMenuItemDay
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;