From c7211d13bee617e8126e627d198121b9fbe78adf Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 23 Jan 2005 19:27:43 +0100 Subject: Fixed displaying the "Audio" menu with the "Green" button from the "Main" menu in case there is only one audio track --- menu.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'menu.c') 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) -- cgit v1.2.3