Changed: #947 fixed key 5 and 6 interchanged

This commit is contained in:
rti 2010-06-13 01:01:42 +02:00
parent 59bdca45fe
commit 1424cfb2b1

View file

@ -451,8 +451,8 @@ NLMISC::TKey virtualKeycodeToNelKey(unsigned short keycode)
case kVK_ANSI_2: return NLMISC::Key2; case kVK_ANSI_2: return NLMISC::Key2;
case kVK_ANSI_3: return NLMISC::Key3; case kVK_ANSI_3: return NLMISC::Key3;
case kVK_ANSI_4: return NLMISC::Key4; case kVK_ANSI_4: return NLMISC::Key4;
case kVK_ANSI_5: return NLMISC::Key6; case kVK_ANSI_5: return NLMISC::Key5;
case kVK_ANSI_6: return NLMISC::Key5; case kVK_ANSI_6: return NLMISC::Key6;
case kVK_ANSI_7: return NLMISC::Key7; case kVK_ANSI_7: return NLMISC::Key7;
case kVK_ANSI_8: return NLMISC::Key8; case kVK_ANSI_8: return NLMISC::Key8;
case kVK_ANSI_9: return NLMISC::Key9; case kVK_ANSI_9: return NLMISC::Key9;