Revision: 5958
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5958&view=rev
Author:   hofman
Date:     2009-10-27 23:14:07 +0000 (Tue, 27 Oct 2009)

Log Message:
-----------
sort objects rather than keys of dictionary

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

Modified: trunk/SKPDFSynchronizerServer.m
===================================================================
--- trunk/SKPDFSynchronizerServer.m     2009-10-27 18:23:48 UTC (rev 5957)
+++ trunk/SKPDFSynchronizerServer.m     2009-10-27 23:14:07 UTC (rev 5958)
@@ -399,7 +399,7 @@
                 NSSortDescriptor *ySortDescriptor = [[[NSSortDescriptor alloc] 
initWithKey:@"y" ascending:NO] autorelease];
                 NSArray *lineSortDescriptors = [NSArray 
arrayWithObjects:lineSortDescriptor, nil];
                 
-                for (array in lines)
+                for (array in [lines objectEnumerator])
                     [array sortUsingDescriptors:lineSortDescriptors];
                 [pages 
makeObjectsPerformSelector:@selector(sortUsingDescriptors:)
                                        withObject:[NSArray 
arrayWithObjects:ySortDescriptor, xSortDescriptor, nil]];


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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to