summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-10-02 15:04:34 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2005-10-02 15:04:34 +0200
commit2cc029066b3af90d560ae5d549d0faba76acc77f (patch)
tree2525b228e9b2d6cf23dde0c89de4610c19f14d10 /menu.c
parentd808293a06671badd716dd94b93c0aae764a29cb (diff)
downloadvdr-2cc029066b3af90d560ae5d549d0faba76acc77f.tar.gz
vdr-2cc029066b3af90d560ae5d549d0faba76acc77f.tar.bz2
Fixed handling of menus with no selectable items
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/menu.c b/menu.c
index e43dbc95..ea187084 100644
--- a/menu.c
+++ b/menu.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.c 1.370 2005/10/02 14:50:44 kls Exp $
+ * $Id: menu.c 1.371 2005/10/02 14:53:48 kls Exp $
*/
#include "menu.h"
@@ -1302,7 +1302,7 @@ cMenuCam::cMenuCam(cCiMenu *CiMenu)
dsyslog("CAM: '%s'", ciMenu->SubTitleText());
}
for (int i = 0; i < ciMenu->NumEntries(); i++) {
- Add(new cOsdItem(hk(ciMenu->Entry(i))));
+ Add(new cOsdItem(hk(ciMenu->Entry(i)), osUnknown, ciMenu->Selectable()));
dsyslog("CAM: '%s'", ciMenu->Entry(i));
}
if (*ciMenu->BottomText()) {