aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CMMCPResult.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CMMCPResult.m')
-rw-r--r--Source/CMMCPResult.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CMMCPResult.m b/Source/CMMCPResult.m
index 701e614c..ebc5c6ab 100644
--- a/Source/CMMCPResult.m
+++ b/Source/CMMCPResult.m
@@ -24,6 +24,7 @@
// More info at <http://code.google.com/p/sequel-pro/>
#import "CMMCPResult.h"
+#import "SPArrayAdditions.h"
@implementation CMMCPResult
@@ -295,7 +296,7 @@ modified version for use with sequel-pro
switch (aType) {
case MCPTypeDictionary :
- [theReturn setObject:theCurrentObj forKey:[mNames objectAtIndex:i]];
+ [theReturn setObject:theCurrentObj forKey:NSArrayObjectAtIndex(mNames, i)];
break;
case MCPTypeArray :