From 0a4c54b063d77fc013ecce81ad45a365702a50e0 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Mon, 18 Oct 2010 18:30:37 +0000 Subject: [PATCH] Monotone-Parent: b7715dca41945ec8af6e621dd1ca4d2406198824 Monotone-Revision: b87371b5b686da6d0d84e233c3ffbd8f8f9fbe1f Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-10-18T18:30:37 Monotone-Branch: ca.inverse.sogo --- SOPE/NGCards/iCalTimeZone.m | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/SOPE/NGCards/iCalTimeZone.m b/SOPE/NGCards/iCalTimeZone.m index 9de729ff5..101000836 100644 --- a/SOPE/NGCards/iCalTimeZone.m +++ b/SOPE/NGCards/iCalTimeZone.m @@ -130,8 +130,8 @@ static NSMutableDictionary *cache; return [[self uniqueChildWithTag: @"tzid"] value: 0]; } -- (NSCalendarDate *) _occurenceForPeriodNamed: (NSString *) pName - forDate: (NSCalendarDate *) aDate +- (NSCalendarDate *) _occurrenceForPeriodNamed: (NSString *) pName + forDate: (NSCalendarDate *) aDate { NSArray *periods; iCalTimeZonePeriod *period; @@ -157,10 +157,10 @@ static NSMutableDictionary *cache; /* FIXME, this could cause crashes when timezones are not properly specified, but let's say it won't happen often... */ - daylightOccurence = [self _occurenceForPeriodNamed: @"daylight" - forDate: date]; - standardOccurence = [self _occurenceForPeriodNamed: @"standard" - forDate: date]; + daylightOccurence = [self _occurrenceForPeriodNamed: @"daylight" + forDate: date]; + standardOccurence = [self _occurrenceForPeriodNamed: @"standard" + forDate: date]; if (!standardOccurence) period = (iCalTimeZonePeriod *) [self uniqueChildWithTag: @"daylight"];