Revision: 6469
          http://skim-app.svn.sourceforge.net/skim-app/?rev=6469&view=rev
Author:   hofman
Date:     2010-04-18 11:57:29 +0000 (Sun, 18 Apr 2010)

Log Message:
-----------
implement nscopying in formatter

Modified Paths:
--------------
    trunk/SKNumberArrayFormatter.m

Modified: trunk/SKNumberArrayFormatter.m
===================================================================
--- trunk/SKNumberArrayFormatter.m      2010-04-18 11:44:33 UTC (rev 6468)
+++ trunk/SKNumberArrayFormatter.m      2010-04-18 11:57:29 UTC (rev 6469)
@@ -61,6 +61,12 @@
     return self;
 }
 
+- (id)copyWithZone:(NSZone *)zone {
+    SKNumberArrayFormatter *copy = [super copyWithZone:zone];
+    copy->numberFormatter = [numberFormatter copyWithZone:zone];
+    return copy;
+}
+
 - (void)dealloc {
     SKDESTROY(numberFormatter);
     [super dealloc];


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to