summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-10-03 12:58:22 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2005-10-03 12:58:22 +0200
commit5956f7eeec27d86cb56642f51c423f4198a6ca43 (patch)
tree7ddbd3f33c260eeecd12d70aa3fd2bd6e4ce9f3b /menu.c
parent876ad5d5f6d8128ee92ad507a8ea1d536f9ae88b (diff)
downloadvdr-5956f7eeec27d86cb56642f51c423f4198a6ca43.tar.gz
vdr-5956f7eeec27d86cb56642f51c423f4198a6ca43.tar.bz2
The CAM enquiry menu now aborts if Menu is pressed
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/menu.c b/menu.c
index 53251f25..19079bec 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.373 2005/10/03 12:24:34 kls Exp $
+ * $Id: menu.c 1.374 2005/10/03 12:53:51 kls Exp $
*/
#include "menu.h"
@@ -1386,7 +1386,7 @@ cMenuCamEnquiry::cMenuCamEnquiry(cCiEnquiry *CiEnquiry)
cMenuCamEnquiry::~cMenuCamEnquiry()
{
if (!replied)
- ciEnquiry->Cancel();
+ ciEnquiry->Abort();
free(input);
delete ciEnquiry;
}
@@ -1414,6 +1414,11 @@ eOSState cMenuCamEnquiry::ProcessKey(eKeys Key)
default: break;
}
}
+ else if (state == osBack) {
+ ciEnquiry->Cancel();
+ replied = true;
+ return osEnd;
+ }
return state;
}