diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-10-13 09:16:32 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-10-13 09:16:32 +0200 |
commit | a19ea98ccebd17231be9c480fd187bdee1bf9fd1 (patch) | |
tree | 5045ada5f75eaef9ffca00535b870b2d461a9bc7 /menu.c | |
parent | e2aee54d1279c0605a0ed5db43ce29e3079a8ad6 (diff) | |
download | vdr-a19ea98ccebd17231be9c480fd187bdee1bf9fd1.tar.gz vdr-a19ea98ccebd17231be9c480fd187bdee1bf9fd1.tar.bz2 |
Automatically closing 'Commands' menu if command doesn't return any output
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 3 |
1 files changed, 2 insertions, 1 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.215 2002/10/13 08:44:33 kls Exp $ + * $Id: menu.c 1.216 2002/10/13 09:15:26 kls Exp $ */ #include "menu.h" @@ -2093,6 +2093,7 @@ eOSState cMenuCommands::Execute(void) const char *Result = command->Execute(); if (Result) return AddSubMenu(new cMenuText(command->Title(), Result, fontFix)); + return osEnd; } } return osContinue; |