diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-07-18 16:58:43 +0200 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-07-19 11:38:07 +0200 |
commit | 0d3dd79585dcf92efb2de7707835fb5256917f3a (patch) | |
tree | 4ebe6ca2088ec915aa1e9422835fcc760db538bb /recmenuitem.c | |
parent | 7f8ac2a2a81c506fcd9c10af6ee7128a337dfa15 (diff) | |
download | vdr-plugin-tvguide-0d3dd79585dcf92efb2de7707835fb5256917f3a.tar.gz vdr-plugin-tvguide-0d3dd79585dcf92efb2de7707835fb5256917f3a.tar.bz2 |
Rework cRecMenuItemInt
Diffstat (limited to 'recmenuitem.c')
-rw-r--r-- | recmenuitem.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/recmenuitem.c b/recmenuitem.c index 80daef3..b5c8379 100644 --- a/recmenuitem.c +++ b/recmenuitem.c @@ -297,7 +297,6 @@ void cRecMenuItemInfo::Draw(void) { // --- cRecMenuItemInt ------------------------------------------------------- cRecMenuItemInt::cRecMenuItemInt(cString text, - int initialVal, int minVal, int maxVal, bool active, @@ -305,7 +304,7 @@ cRecMenuItemInt::cRecMenuItemInt(cString text, eRecMenuState action) { selectable = true; this->text = text; - this->currentVal = initialVal; + this->currentVal = *callback; this->minVal = minVal; this->maxVal = maxVal; this->active = active; |