Sophie

Sophie

distrib > Mandriva > 2006.0 > i586 > by-pkgid > 5d8446d2074649ee8939b13a97d00f34 > files > 39

kdepim-3.4.2-13mdk.src.rpm

--- libkcal/recurrence.cpp--	2005-04-15 20:07:29.000000000 +0200
+++ libkcal/recurrence.cpp	2005-04-15 20:09:22.000000000 +0200
@@ -572,7 +572,7 @@ void Recurrence::setMonthly(short type, 
 
 void Recurrence::addMonthlyPos(short _rPos, const QBitArray &_rDays)
 {
-  if (recurs == rMonthlyPos)
+  if (recurs == rMonthlyPos || recurs == rYearlyPos)
     addMonthlyPos_(_rPos, _rDays);
 }
 
@@ -3532,4 +3532,9 @@ void Recurrence::dump() const
     kdDebug(5800) << "    " << i << ": "
               << ( rDays.testBit( i ) ? "true" : "false" ) << endl;
   }
+kdDebug(5800) << "  duration: " << rDuration << endl;
+
+  for (QPtrListIterator<int> it(rMonthDays);  it.current();  ++it) {
+    kdDebug(5800) << "  monthday: " << *(it.current()) << endl;
+	        }
 }