From 0e0b27ff018742a4ca7c7ebf5c146871818e0419 Mon Sep 17 00:00:00 2001 From: rti Date: Sun, 13 Jun 2010 01:01:42 +0200 Subject: [PATCH] Changed: #947 fixed key 5 and 6 interchanged --- code/nel/src/3d/driver/opengl/mac/cocoa_adapter.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/nel/src/3d/driver/opengl/mac/cocoa_adapter.mm b/code/nel/src/3d/driver/opengl/mac/cocoa_adapter.mm index f01ce8e31..37eb203f1 100644 --- a/code/nel/src/3d/driver/opengl/mac/cocoa_adapter.mm +++ b/code/nel/src/3d/driver/opengl/mac/cocoa_adapter.mm @@ -451,8 +451,8 @@ NLMISC::TKey virtualKeycodeToNelKey(unsigned short keycode) case kVK_ANSI_2: return NLMISC::Key2; case kVK_ANSI_3: return NLMISC::Key3; case kVK_ANSI_4: return NLMISC::Key4; - case kVK_ANSI_5: return NLMISC::Key6; - case kVK_ANSI_6: return NLMISC::Key5; + case kVK_ANSI_5: return NLMISC::Key5; + case kVK_ANSI_6: return NLMISC::Key6; case kVK_ANSI_7: return NLMISC::Key7; case kVK_ANSI_8: return NLMISC::Key8; case kVK_ANSI_9: return NLMISC::Key9;