2015-02-17 18:47 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* src/rtl/gtwin/gtwin.c
    * use VK_MENU macro instead of direct value and do not check
      VirtualScanCode in hack for ALT+<keypadnums,...> input
This commit is contained in:
Przemysław Czerpak
2015-02-17 18:47:54 +01:00
parent 0f1b885280
commit ea82ac86f6
2 changed files with 7 additions and 2 deletions

View File

@@ -10,6 +10,11 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2015-02-17 18:47 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/gtwin/gtwin.c
* use VK_MENU macro instead of direct value and do not check
VirtualScanCode in hack for ALT+<keypadnums,...> input
2015-02-17 17:44 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* package/harb_win.mft
* package/harb_win.rc

View File

@@ -1725,8 +1725,8 @@ static int hb_gt_win_ReadKey( PHB_GT pGT, int iEventMask )
}
#endif
}
else if( s_irInBuf[ s_cNumIndex ].Event.KeyEvent.wVirtualKeyCode == 0x12 &&
s_irInBuf[ s_cNumIndex ].Event.KeyEvent.wVirtualScanCode == 0x38 )
else if( s_irInBuf[ s_cNumIndex ].Event.KeyEvent.wVirtualKeyCode == VK_MENU )
/* && s_irInBuf[ s_cNumIndex ].Event.KeyEvent.wVirtualScanCode == 0x38 */
{
#if defined( UNICODE )
ch = s_irInBuf[ s_cNumIndex ].Event.KeyEvent.uChar.UnicodeChar;