summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2020-11-06 13:13:05 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2020-11-06 13:13:05 +0100
commitc23547c4ca729ba35139092e4c86a8f0f6454bfc (patch)
tree72d4efebe821eae07b66c8a0751d8ca041b07bc3 /menu.c
parent0468b38ff3754bb195688fb2ec6314835e028125 (diff)
downloadvdr-c23547c4ca729ba35139092e4c86a8f0f6454bfc.tar.gz
vdr-c23547c4ca729ba35139092e4c86a8f0f6454bfc.tar.bz2
Fixed a crash in case an error occurs when setting a remote timer
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/menu.c b/menu.c
index 071d9292..1a295dc7 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 4.86 2020/11/03 22:12:38 kls Exp $
+ * $Id: menu.c 4.87 2020/11/06 13:13:05 kls Exp $
*/
#include "menu.h"
@@ -1130,7 +1130,7 @@ eOSState cMenuEditTimer::ProcessKey(eKeys Key)
addedTimer = timer;
if (!HandleRemoteModifications(timer)) {
// must add the timer before HandleRemoteModifications to get proper log messages with timer ids
- Timers->Del(timer);
+ Timers->Del(timer, false);
addedTimer = NULL;
return osContinue;
}