summaryrefslogtreecommitdiff
path: root/timers.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-11-14 16:27:27 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-11-14 16:27:27 +0100
commitac8e03a89cb86e2f68924533d53a3c93f7c972c9 (patch)
treed0a5ef85f87cae71c85c0512668db07c5395e7f9 /timers.c
parent1ed36b04bc06f73abea7b774ae9990d4e4ec671c (diff)
downloadvdr-ac8e03a89cb86e2f68924533d53a3c93f7c972c9.tar.gz
vdr-ac8e03a89cb86e2f68924533d53a3c93f7c972c9.tar.bz2
Implemented handling of number keys in the 'Timers' menu for toggling days1.3.16
Diffstat (limited to 'timers.c')
-rw-r--r--timers.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/timers.c b/timers.c
index 38fbf394..501396ee 100644
--- a/timers.c
+++ b/timers.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: timers.c 1.16 2004/10/31 16:41:30 kls Exp $
+ * $Id: timers.c 1.17 2004/11/14 16:02:42 kls Exp $
*/
#include "timers.h"
@@ -256,13 +256,13 @@ bool cTimer::IsSingleEvent(void) const
return (day & 0x80000000) == 0;
}
-int cTimer::GetMDay(time_t t) const
+int cTimer::GetMDay(time_t t)
{
struct tm tm_r;
return localtime_r(&t, &tm_r)->tm_mday;
}
-int cTimer::GetWDay(time_t t) const
+int cTimer::GetWDay(time_t t)
{
struct tm tm_r;
int weekday = localtime_r(&t, &tm_r)->tm_wday;