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 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;