Revision: 7470 http://skim-app.svn.sourceforge.net/skim-app/?rev=7470&view=rev Author: hofman Date: 2011-09-07 11:20:56 +0000 (Wed, 07 Sep 2011) Log Message: ----------- enclose assignment in condition in parenthesis
Modified Paths: -------------- trunk/NSScrollView_SKExtensions.m trunk/SKDocumentController.m Modified: trunk/NSScrollView_SKExtensions.m =================================================================== --- trunk/NSScrollView_SKExtensions.m 2011-09-07 10:20:55 UTC (rev 7469) +++ trunk/NSScrollView_SKExtensions.m 2011-09-07 11:20:56 UTC (rev 7470) @@ -185,7 +185,7 @@ NSView *view; CGFloat f = [[self window] isMainWindow] || [[self window] isKeyWindow] ? 1.0 : 0.33333; [viewEnum nextObject]; - while (view = [viewEnum nextObject]) { + while ((view = [viewEnum nextObject])) { divRect.origin.x = NSMinX([view frame]); [divImage drawInRect:divRect fromRect:divSrcRect operation:NSCompositeSourceOver fraction:f]; } Modified: trunk/SKDocumentController.m =================================================================== --- trunk/SKDocumentController.m 2011-09-07 10:20:55 UTC (rev 7469) +++ trunk/SKDocumentController.m 2011-09-07 11:20:56 UTC (rev 7470) @@ -349,7 +349,7 @@ NSMutableArray *urls = [NSMutableArray array]; BOOL failed = NO; - while (path = [dirEnum nextObject]) { + while ((path = [dirEnum nextObject])) { NSString *fullPath = [basePath stringByAppendingPathComponent:path]; NSURL *url = [NSURL fileURLWithPath:fullPath]; if ([self documentClassForContentsOfURL:url]) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Using storage to extend the benefits of virtualization and iSCSI Virtualization increases hardware utilization and delivers a new level of agility. Learn what those decisions are and how to modernize your storage and backup environments for virtualization. http://www.accelacomm.com/jaw/sfnl/114/51434361/ _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit