aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPQueryConsole.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPQueryConsole.m')
-rw-r--r--Source/SPQueryConsole.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPQueryConsole.m b/Source/SPQueryConsole.m
index dab9a9a0..d7f29811 100644
--- a/Source/SPQueryConsole.m
+++ b/Source/SPQueryConsole.m
@@ -25,6 +25,7 @@
#import "SPQueryConsole.h"
#import "SPConsoleMessage.h"
+#import "SPArrayAdditions.h"
#define MESSAGE_TRUNCATE_CHARACTER_LENGTH 256
#define MESSAGE_TIME_STAMP_FORMAT @"%H:%M:%S"
@@ -147,7 +148,7 @@ static SPQueryConsole *sharedQueryConsole = nil;
while (i != NSNotFound)
{
if (i < [messagesVisibleSet count]) {
- SPConsoleMessage *message = [messagesVisibleSet objectAtIndex:i];
+ SPConsoleMessage *message = NSArrayObjectAtIndex(messagesVisibleSet, i);
NSString *consoleMessage = [message message];