X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=sope-ical%2FNGiCal%2FiCalRepeatableEntityObject.m;h=b04f28149341c0e17b2513a1f442200e12aca65f;hb=fbf1470062a8238819d7fbafaea4a9e8922259dc;hp=90c27dda4feed2d0db56319fd58e6c195f26bbe2;hpb=8daef801bc9b4402550e44e337bf8317c60acaaa;p=sope diff --git a/sope-ical/NGiCal/iCalRepeatableEntityObject.m b/sope-ical/NGiCal/iCalRepeatableEntityObject.m index 90c27dda..b04f2814 100644 --- a/sope-ical/NGiCal/iCalRepeatableEntityObject.m +++ b/sope-ical/NGiCal/iCalRepeatableEntityObject.m @@ -50,9 +50,9 @@ new = [super copyWithZone:_zone]; - ASSIGNCOPY(new->rRules, self->rRules); - ASSIGNCOPY(new->exRules, self->exRules); - ASSIGNCOPY(new->exDates, self->exDates); + new->rRules = [self->rRules copyWithZone:_zone]; + new->exRules = [self->exRules copyWithZone:_zone]; + new->exDates = [self->exDates copyWithZone:_zone]; return new; }