summaryrefslogtreecommitdiff
path: root/recmenu.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2020-03-05 15:18:48 +0100
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2020-03-06 14:01:47 +0100
commit7ec89bf12bab99b84363564075c0def9477d28fe (patch)
tree9d367d288a3bf66797dadf6332538fedd1257d00 /recmenu.c
parentf653594c4a82eef62ec16d9daab2f964f416a12e (diff)
downloadvdr-plugin-tvguide-7ec89bf12bab99b84363564075c0def9477d28fe.tar.gz
vdr-plugin-tvguide-7ec89bf12bab99b84363564075c0def9477d28fe.tar.bz2
Fixed stopIndex in cRecMenu::JumpBegin
Diffstat (limited to 'recmenu.c')
-rw-r--r--recmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/recmenu.c b/recmenu.c
index a1e6eb6..32650c1 100644
--- a/recmenu.c
+++ b/recmenu.c
@@ -441,7 +441,7 @@ void cRecMenu::JumpBegin(void) {
CreatePixmap();
Arrange(false);
startIndex = 0;
- stopIndex = numItems - 1;
+ stopIndex = currentItem;
cRecMenuItem *first = menuItems.front();
first->setActive();
first->setBackground();