Commit Message
Hi!
This patch enables wapd-0.7a to compile under vdr-1.3.23.
To be honest, I didn't quite understand the changed functionality, so
someone might want to confirm that the patch is correct ;)
@@ -481,7 +481,11 @@ void cWapServer::EditTimer(void)
flags = timer->Active() ? 1 : 0;
#endif
channel_nr = timer->Channel()->Number();
+#if VDRVERSNUM >= 10323
+ day = strdup(timer->PrintDay(0, timer->WeekDays()));
+#else
day = strdup(timer->PrintDay(timer->Day()));
+#endif
start = timer->Start();
stop = timer->Stop();
priority = timer->Priority();
@@ -956,7 +960,9 @@ void cWapServer::PageTimers(void)
timer->Stop() / 100,
timer->Stop() % 100,
timer->Channel()->Number(),
-#if VDRVERSNUM >= 10318
+#if VDRVERSNUM >= 10323
+ *timer->PrintDay(0, timer->WeekDays()),
+#elif VDRVERSNUM >= 10318
*timer->PrintDay(timer->Day()),
#else
timer->PrintDay(timer->Day()),