Revision: 7289
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7289&view=rev
Author:   hofman
Date:     2011-06-18 17:36:17 +0000 (Sat, 18 Jun 2011)

Log Message:
-----------
use correct variable for maxSize

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

Modified: trunk/SKGradientView.m
===================================================================
--- trunk/SKGradientView.m      2011-06-18 17:35:37 UTC (rev 7288)
+++ trunk/SKGradientView.m      2011-06-18 17:36:17 UTC (rev 7289)
@@ -71,8 +71,8 @@
         alternateGradient = [[decoder decodeObjectForKey:@"alternateGradient"] 
retain];
                minSize.width = [decoder decodeDoubleForKey:@"minSize.width"];
                minSize.height = [decoder decodeDoubleForKey:@"minSize.height"];
-               minSize.width = [decoder decodeDoubleForKey:@"maxSize.width"];
-               minSize.height = [decoder decodeDoubleForKey:@"maxSize.height"];
+               maxSize.width = [decoder decodeDoubleForKey:@"maxSize.width"];
+               maxSize.height = [decoder decodeDoubleForKey:@"maxSize.height"];
                edges = [decoder decodeIntegerForKey:@"edges"];
                clipEdges = [decoder decodeIntegerForKey:@"clipEdges"];
                autoTransparent = [decoder decodeBoolForKey:@"autoTransparent"];
@@ -88,8 +88,8 @@
     [coder encodeObject:alternateGradient forKey:@"alternateGradient"];
     [coder encodeDouble:minSize.width forKey:@"minSize.width"];
     [coder encodeDouble:minSize.height forKey:@"minSize.height"];
-    [coder encodeDouble:minSize.width forKey:@"maxSize.width"];
-    [coder encodeDouble:minSize.height forKey:@"maxSize.height"];
+    [coder encodeDouble:maxSize.width forKey:@"maxSize.width"];
+    [coder encodeDouble:maxSize.height forKey:@"maxSize.height"];
     [coder encodeInteger:edges forKey:@"edges"];
     [coder encodeInteger:clipEdges forKey:@"clipEdges"];
     [coder encodeBool:autoTransparent forKey:@"autoTransparent"];


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

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to