Revision: 7552
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7552&view=rev
Author:   hofman
Date:     2011-12-04 00:47:10 +0000 (Sun, 04 Dec 2011)
Log Message:
-----------
avoid problems with string values

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

Modified: trunk/SKTextWithIconCell.m
===================================================================
--- trunk/SKTextWithIconCell.m  2011-12-04 00:46:14 UTC (rev 7551)
+++ trunk/SKTextWithIconCell.m  2011-12-04 00:47:10 UTC (rev 7552)
@@ -152,7 +152,7 @@
 
 - (NSImage *)icon {
     id obj = [self objectValue];
-    return [obj isKindOfClass:[NSString class]] ? obj : [obj 
valueForKey:SKTextWithIconCellImageKey];
+    return [obj isKindOfClass:[NSString class]] ? nil : [obj 
valueForKey:SKTextWithIconCellImageKey];
 }
 
 @end

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


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to