]> err.no Git - sope/blobdiff - sope-ical/NGiCal/iCalToDo.m
fixed NSCopying *sigh*
[sope] / sope-ical / NGiCal / iCalToDo.m
index 0bc2259e3c797a924e1fff46cb3880349a0edbee..dc17e204a295cd847f0dd0d9c35e09915e82ca66 100644 (file)
   
   new = [super copyWithZone:_zone];
   
-  ASSIGNCOPY(new->due,   self->due);
-  ASSIGNCOPY(new->percentComplete, self->percentComplete);
-  ASSIGNCOPY(new->completed, self->completed);
-  
+  new->due             = [self->due             copyWithZone:_zone];
+  new->percentComplete = [self->percentComplete copyWithZone:_zone];
+  new->completed       = [self->completed       copyWithZone:_zone];
+
   return new;
 }