summaryrefslogtreecommitdiff
path: root/recmenuitem.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-07-18 17:11:36 +0200
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-07-19 11:38:07 +0200
commitfb165b2b431fa14c45ba19c869ff4a387339da48 (patch)
treec56c98fe20c3d1f75e510c637d457c5436a50637 /recmenuitem.c
parente31070cd76259a9fd29bbb0899f3221f6a913a05 (diff)
downloadvdr-plugin-tvguide-fb165b2b431fa14c45ba19c869ff4a387339da48.tar.gz
vdr-plugin-tvguide-fb165b2b431fa14c45ba19c869ff4a387339da48.tar.bz2
Rework cRecMenuItemTime
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 293cd6e..ab0a10a 100644
--- a/recmenuitem.c
+++ b/recmenuitem.c
@@ -1305,13 +1305,12 @@ eRecMenuState cRecMenuItemText::ProcessKey(eKeys Key) {
// --- cRecMenuItemTime -------------------------------------------------------
cRecMenuItemTime::cRecMenuItemTime(cString text,
- int initialVal,
bool active,
int *callback,
eRecMenuState action) {
selectable = true;
this->text = text;
- this->value = initialVal;
+ this->value = *callback;
hh = value / 100;
mm = value % 100;
pos = 0;