]> err.no Git - sope/blobdiff - sope-ical/NGiCal/iCalEvent.m
fixed NSCopying *sigh*
[sope] / sope-ical / NGiCal / iCalEvent.m
index a6945a4fd4174fad8bdfef5f752131705fa63fc1..39749a77134139269ba720fcb8e9ce39ad80c487 100644 (file)
@@ -56,9 +56,9 @@
   
   new = [super copyWithZone:_zone];
   
-  ASSIGNCOPY(new->endDate,      self->endDate);
-  ASSIGNCOPY(new->duration,     self->duration);
-  ASSIGNCOPY(new->transparency, self->transparency);
+  new->endDate      = [self->endDate      copyWithZone:_zone];
+  new->duration     = [self->duration     copyWithZone:_zone];
+  new->transparency = [self->transparency copyWithZone:_zone];
 
   return new;
 }