summaryrefslogtreecommitdiff
path: root/menuitems.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-01-07 11:24:08 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-01-07 11:24:08 +0100
commit2e0a3f273a18fd6bcf2bc347a6ca449ac7304016 (patch)
tree88d1114f2ba1a094ea1ae8067ac2a0be0c9840ee /menuitems.c
parent9bbd68f357f3cab1be0031bd6f72e52143b2a918 (diff)
downloadvdr-2e0a3f273a18fd6bcf2bc347a6ca449ac7304016.tar.gz
vdr-2e0a3f273a18fd6bcf2bc347a6ca449ac7304016.tar.bz2
Fixed the "Day" field of the "Edit timer" menu when pressing '0' to switch from "single shot" to "weekly", followed by the "Right" key
Diffstat (limited to 'menuitems.c')
-rw-r--r--menuitems.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/menuitems.c b/menuitems.c
index c19ae6f2..f1342fab 100644
--- a/menuitems.c
+++ b/menuitems.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menuitems.c 1.27 2006/01/06 16:26:05 kls Exp $
+ * $Id: menuitems.c 1.28 2006/01/07 11:20:55 kls Exp $
*/
#include "menuitems.h"
@@ -705,6 +705,7 @@ eOSState cMenuEditDateItem::ProcessKey(eKeys Key)
}
else {
*weekdays = days[cTimer::GetWDay(*value)];
+ dayindex = FindDayIndex(*weekdays);
oldvalue = *value;
*value = 0;
}