From 9455bc0d2cb0c6726d1dde8c2dc1a22626fb0ed1 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 9 Jun 2009 20:14:45 +0000 Subject: [PATCH] Monotone-Parent: fbd5dc5dd3cd59f6e6a2191cb2c961e490f7a2eb Monotone-Revision: 54a0f4ee758452e92bd725022f21fd6e2d4c95e0 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-06-09T20:14:45 Monotone-Branch: ca.inverse.sogo --- SoObjects/Appointments/SOGoFreeBusyObject.m | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/SoObjects/Appointments/SOGoFreeBusyObject.m b/SoObjects/Appointments/SOGoFreeBusyObject.m index 320e9e4a8..146979f91 100644 --- a/SoObjects/Appointments/SOGoFreeBusyObject.m +++ b/SoObjects/Appointments/SOGoFreeBusyObject.m @@ -179,10 +179,12 @@ static unsigned int freebusyRangeEnd = 0; } } - if (type == iCalFBBusy || type == iCalFBBusyTentative || type == iCalFBBusyUnavailable) + if (type == iCalFBBusy + || type == iCalFBBusyTentative + || type == iCalFBBusyUnavailable) [freebusy addFreeBusyFrom: [info objectForKey: @"startDate"] to: [info objectForKey: @"endDate"] - type: iCalFBBusyUnavailable]; + type: type]; } [calendar setUniqueChild: freebusy];