summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-01-23 19:27:43 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-01-23 19:27:43 +0100
commitc7211d13bee617e8126e627d198121b9fbe78adf (patch)
treea50f591a739b2c6f190cee9288104c31e5690e00 /menu.c
parent039cdaecb524af3ff521d18e8c7a0b5c0f4e67a6 (diff)
downloadvdr-c7211d13bee617e8126e627d198121b9fbe78adf.tar.gz
vdr-c7211d13bee617e8126e627d198121b9fbe78adf.tar.bz2
Fixed displaying the "Audio" menu with the "Green" button from the "Main" menu in case there is only one audio track
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/menu.c b/menu.c
index aac472da..b0a4f6cc 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.337 2005/01/16 12:05:13 kls Exp $
+ * $Id: menu.c 1.338 2005/01/23 19:24:04 kls Exp $
*/
#include "menu.h"
@@ -2513,10 +2513,8 @@ eOSState cMenuMain::ProcessKey(eKeys Key)
state = replaying ? osContinue : osRecord;
break;
case kGreen: if (!HadSubMenu) {
- if (cDevice::PrimaryDevice()->NumAudioTracks() > 1) {
- cRemote::Put(kAudio, true);
- state = osEnd;
- }
+ cRemote::Put(kAudio, true);
+ state = osEnd;
}
break;
case kYellow: if (!HadSubMenu)