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