From: znek Date: Tue, 31 Aug 2004 15:09:59 +0000 (+0000) Subject: bugfix X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5beb58953b8e1d3e7395d533eed3513602757ded;p=scalable-opengroupware.org bugfix git-svn-id: http://svn.opengroupware.org/SOGo/trunk@289 d1b88da0-ebda-0310-925b-ed51d893ca5b --- diff --git a/SOGo/UI/Scheduler/ChangeLog b/SOGo/UI/Scheduler/ChangeLog index 74e65c2d..c3ced98f 100644 --- a/SOGo/UI/Scheduler/ChangeLog +++ b/SOGo/UI/Scheduler/ChangeLog @@ -1,3 +1,7 @@ +2004-08-31 Marcus Mueller + + * UIxCalView.m: fixed stupid bug (v0.9.75) + 2004-08-27 Marcus Mueller * v0.9.74 diff --git a/SOGo/UI/Scheduler/UIxCalView.m b/SOGo/UI/Scheduler/UIxCalView.m index eedbbf8e..9338e3c5 100644 --- a/SOGo/UI/Scheduler/UIxCalView.m +++ b/SOGo/UI/Scheduler/UIxCalView.m @@ -124,8 +124,7 @@ static BOOL shouldDisplayWeekend = NO; - (NSCalendarDate *)nextMonth { NSCalendarDate *date = [self thisMonth]; - - return [date dateByAddingYears:0 months:0 days:[date numberOfDaysInMonth] + return [date dateByAddingYears:0 months:1 days:0 hours:0 minutes:0 seconds:0]; } @@ -313,15 +312,15 @@ static BOOL shouldDisplayWeekend = NO; int j, rcount; for (j = 0, rcount = [res count]; j < rcount; j++) { - NSDictionary *record; - - record = [res objectAtIndex:j]; - - if ([_uniquer containsObject:[record valueForKey:@"uid"]]) - continue; + NSDictionary *record; + + record = [res objectAtIndex:j]; + + if ([_uniquer containsObject:[record valueForKey:@"uid"]]) + continue; - [ma addObject:record]; - [_uniquer addObject:[record valueForKey:@"uid"]]; + [ma addObject:record]; + [_uniquer addObject:[record valueForKey:@"uid"]]; } } } diff --git a/SOGo/UI/Scheduler/Version b/SOGo/UI/Scheduler/Version index cdb72b57..e70afeff 100644 --- a/SOGo/UI/Scheduler/Version +++ b/SOGo/UI/Scheduler/Version @@ -1,6 +1,6 @@ # $Id$ -SUBMINOR_VERSION:=74 +SUBMINOR_VERSION:=75 # v0.9.70 requires libNGExtensions v4.3.107 # v0.9.67 requires SOPE 4.3