Revision: 5113
http://skim-app.svn.sourceforge.net/skim-app/?rev=5113&view=rev
Author: hofman
Date: 2009-01-07 17:35:48 +0000 (Wed, 07 Jan 2009)
Log Message:
-----------
invert condition
Modified Paths:
--------------
trunk/PDFPage_SKExtensions.m
Modified: trunk/PDFPage_SKExtensions.m
===================================================================
--- trunk/PDFPage_SKExtensions.m 2009-01-07 17:29:44 UTC (rev 5112)
+++ trunk/PDFPage_SKExtensions.m 2009-01-07 17:35:48 UTC (rev 5113)
@@ -136,7 +136,7 @@
NSBitmapImageRep *imageRep = [self
newBitmapImageRepForBox:kPDFDisplayBoxMediaBox];
NSRect bounds = [self boundsForBox:kPDFDisplayBoxMediaBox];
NSRect rect = [imageRep foregroundRect];
- if (imageRep) {
+ if (imageRep == nil) {
rect = bounds;
} else if (NSEqualRects(NSZeroRect, rect)) {
rect.origin.x = floorf(NSMidX(bounds));
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit