diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-12-03 13:27:07 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-12-03 13:27:07 +0100 |
commit | 780aeab4ff95dff26baea1ec63f60f52a99bdfd9 (patch) | |
tree | 4d8e2abc8a0c9ab2439cf15909728d08c26323f5 /vdr.c | |
parent | e2796948b2abadbb60fca25af2922737c253805a (diff) | |
download | vdr-780aeab4ff95dff26baea1ec63f60f52a99bdfd9.tar.gz vdr-780aeab4ff95dff26baea1ec63f60f52a99bdfd9.tar.bz2 |
Fixed faulty opening of the Recordings menu when pressing the Play key during normal live viewing mode in case there there is a "last viewed" recording
Diffstat (limited to 'vdr.c')
-rw-r--r-- | vdr.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -22,7 +22,7 @@ * * The project's page is at http://www.tvdr.de * - * $Id: vdr.c 2.42 2012/10/13 12:48:56 kls Exp $ + * $Id: vdr.c 2.43 2012/12/03 13:24:39 kls Exp $ */ #include <getopt.h> @@ -1000,11 +1000,11 @@ int main(int argc, char *argv[]) break; // Direct main menu functions: #define DirectMainFunction(function)\ - DELETE_MENU;\ + { DELETE_MENU;\ if (cControl::Control())\ cControl::Control()->Hide();\ Menu = new cMenuMain(function);\ - key = kNone; // nobody else needs to see this key + key = kNone; } // nobody else needs to see this key case kSchedule: DirectMainFunction(osSchedule); break; case kChannels: DirectMainFunction(osChannels); break; case kTimers: DirectMainFunction(osTimers); break; |