aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPColorSelectorView.m
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2014-08-03 20:10:00 +0200
committerMax <post@wickenrode.com>2014-08-03 20:10:00 +0200
commit2ed99ae914206ec7ba7f4a7778c69d6c041a411c (patch)
tree244a21f227ea19991b100629cb01b3372e60bccf /Source/SPColorSelectorView.m
parent2570a91dd1e1d7b88b908db33494baeaa5001e74 (diff)
downloadsequelpro-2ed99ae914206ec7ba7f4a7778c69d6c041a411c.tar.gz
sequelpro-2ed99ae914206ec7ba7f4a7778c69d6c041a411c.tar.bz2
sequelpro-2ed99ae914206ec7ba7f4a7778c69d6c041a411c.zip
Replace a few other instances with objectOrNilAtIndex:
Diffstat (limited to 'Source/SPColorSelectorView.m')
-rw-r--r--Source/SPColorSelectorView.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPColorSelectorView.m b/Source/SPColorSelectorView.m
index 20a894dd..15b18596 100644
--- a/Source/SPColorSelectorView.m
+++ b/Source/SPColorSelectorView.m
@@ -253,7 +253,7 @@ enum trackingAreaIDs
NSRect colorSquareRect = [self rectForColorViewAtIndex:index];
//make sure the color at index is actually defined
- if(index >= 0 && [colorList objectAtIndex:index] == nil)
+ if(index >= 0 && [colorList objectOrNilAtIndex:index] == nil)
continue;
//do not draw a selection around the X item