From 4b4f074b6659f33b4f9e1c9784861409d8debd97 Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Tue, 10 Sep 2013 18:43:18 +0000 Subject: Convert Objective-C code to modern syntax, mainly for the NSDictionaries. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87115 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/plugins/DFInput/macsrc/ControllerList.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macosx/plugins/DFInput/macsrc/ControllerList.m') diff --git a/macosx/plugins/DFInput/macsrc/ControllerList.m b/macosx/plugins/DFInput/macsrc/ControllerList.m index ed486314..583c0ad3 100755 --- a/macosx/plugins/DFInput/macsrc/ControllerList.m +++ b/macosx/plugins/DFInput/macsrc/ControllerList.m @@ -113,7 +113,7 @@ static const int DPad[DKEY_TOTAL] = { row:(NSInteger)rowIndex { if ([[aTableColumn identifier] isEqualToString:@"key"]) { - return [labelText objectAtIndex:rowIndex]; + return labelText[rowIndex]; } else { char buf[256] = {0}; -- cgit v1.2.3