Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 5aeaaf495fd0be63d2378ddc49b1983e > files > 1

vdr-plugin-autotimeredit-0.1.8-16mdv2009.0.src.rpm

#! /bin/sh /usr/share/dpatch/dpatch-run
## 92_autotimeredit-0.1.8-1.5.3.dpatch by Thomas Günther <tom@toms-cafe.de>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Changes for VDR >= 1.5.3.

@DPATCH@
--- autotimeredit-0.1.8/menueditweekdays.c
+++ autotimeredit-0.1.8/menueditweekdays.c
@@ -58,7 +58,9 @@ cMenuEditWeekDaysItem::cMenuEditWeekDays
 void cMenuEditWeekDaysItem::Set(void)
 {
   if (weekdays && *weekdays) {
-#if VDRVERSNUM >= 10323
+#if VDRVERSNUM >= 10503
+    SetValue(cTimer::PrintDay(0, *weekdays, false));
+#elif VDRVERSNUM >= 10323
     SetValue(cTimer::PrintDay(0, *weekdays));
 #else
     SetValue(cTimer::PrintDay(*weekdays, 0));