See ChangeLog entry 2002-06-05 18:00 UTC-0400 David G. Holm <dholm@jsd-llc.com>

This commit is contained in:
David G. Holm
2002-06-05 22:00:24 +00:00
parent 0ee3524c25
commit 3001d59de3
2 changed files with 11 additions and 0 deletions

View File

@@ -7,6 +7,11 @@
For example:
2002-12-01 23:12 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
2002-06-05 18:00 UTC-0400 David G. Holm <dholm@jsd-llc.com>
* source/rtl/gtwin/gtwin.c
! Fixed Esc key translation problem that only occurred in some
international versions of Windows, thanks to data provided
by "Walter Negro - FOEESITRA" <waltern@foeesitra.org.ar>
2002-06-05 23:30 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su>
* contrib

View File

@@ -412,6 +412,12 @@ int hb_gt_ReadKey( HB_inkey_enum eventmask )
#ifdef HB_DEBUG_KEYBOARD
fprintf( stdout, "0" );
#endif
if( ch == 0 && wChar == 27)
{
/* Fix for escape key problem with some international
keyboards and/or international versions of Windows */
ch = 27;
}
if( ( ( ch == 0 || ch == -32 || ch == -16 ) && ( dwState & ( SHIFT_PRESSED | LEFT_CTRL_PRESSED | RIGHT_CTRL_PRESSED ) ) )
|| ( ( dwState & ( ENHANCED_KEY | LEFT_ALT_PRESSED | RIGHT_ALT_PRESSED ) ) ) )
{