Revision: 4917
http://skim-app.svn.sourceforge.net/skim-app/?rev=4917&view=rev
Author: hofman
Date: 2008-11-04 15:35:03 +0000 (Tue, 04 Nov 2008)
Log Message:
-----------
fix check for type in script command
Modified Paths:
--------------
trunk/PDFPage_SKExtensions.m
Modified: trunk/PDFPage_SKExtensions.m
===================================================================
--- trunk/PDFPage_SKExtensions.m 2008-11-04 14:14:13 UTC (rev 4916)
+++ trunk/PDFPage_SKExtensions.m 2008-11-04 15:35:03 UTC (rev 4917)
@@ -562,7 +562,7 @@
NSData *data = nil;
DescType type = 0;
- if ([boundsData isKindOfClass:[NSData class]] == NO || [asTIFF
respondsToSelector:@selector(boolValue)] == NO)
+ if ([boundsData isKindOfClass:[NSData class]] == NO || (asTIFF && [asTIFF
respondsToSelector:@selector(boolValue)] == NO))
return nil;
if ([asTIFF boolValue]) {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit