diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-01-23 19:27:43 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-01-23 19:27:43 +0100 |
commit | c7211d13bee617e8126e627d198121b9fbe78adf (patch) | |
tree | a50f591a739b2c6f190cee9288104c31e5690e00 /menu.c | |
parent | 039cdaecb524af3ff521d18e8c7a0b5c0f4e67a6 (diff) | |
download | vdr-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.c | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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) |