Revision: 4890
http://skim-app.svn.sourceforge.net/skim-app/?rev=4890&view=rev
Author: hofman
Date: 2008-10-29 00:26:44 +0000 (Wed, 29 Oct 2008)
Log Message:
-----------
return nil when we can't parse the color descriptor
Modified Paths:
--------------
trunk/NSColor_SKExtensions.m
Modified: trunk/NSColor_SKExtensions.m
===================================================================
--- trunk/NSColor_SKExtensions.m 2008-10-29 00:21:19 UTC (rev 4889)
+++ trunk/NSColor_SKExtensions.m 2008-10-29 00:26:44 UTC (rev 4890)
@@ -98,7 +98,8 @@
if (string) {
NSColor *color = [[NSScriptCoercionHandler
sharedCoercionHandler] coerceValue:string toClass:[NSColor class]];
return [color isKindOfClass:[NSColor class]] ? color :
nil;
- }
+ } else
+ return nil;
}
}
break;
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