From b83c8fe686c5374b38b31510f9803d3908d0c4f8 Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Sat, 12 Nov 2011 22:50:37 +0000 Subject: Changing Mac getters to be more Objective-C. Getters in Objective-C are just named what they are getting, I.E. "getVariable" isn't valid, but "variable" is. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72232 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/plugins/DFInput/macsrc/PadView.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macosx/plugins/DFInput/macsrc/PadView.m') diff --git a/macosx/plugins/DFInput/macsrc/PadView.m b/macosx/plugins/DFInput/macsrc/PadView.m index e6828e10..9cfa2666 100644 --- a/macosx/plugins/DFInput/macsrc/PadView.m +++ b/macosx/plugins/DFInput/macsrc/PadView.m @@ -89,7 +89,7 @@ /* handles key events on the pad list */ - (void)keyDown:(NSEvent *)theEvent { - NSEventType key = [theEvent keyCode]; + unsigned short key = [theEvent keyCode]; if ([[theEvent window] firstResponder] == tableView) { if (key == 51 || key == 117) { -- cgit v1.2.3