2015-12-05 10:05 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* src/rtl/gtos2/gtos2.c
    ! fixed GCC builds - many thanks to David Macias
This commit is contained in:
Przemysław Czerpak
2015-12-05 10:05:59 +01:00
parent ef0912cb9e
commit 071cdda627
2 changed files with 8 additions and 1 deletions

View File

@@ -10,6 +10,10 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2015-12-05 10:05 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/gtos2/gtos2.c
! fixed GCC builds - many thanks to David Macias
2015-12-04 23:05 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* include/hbexpra.c
! accept strings passed in 2-nd parameter of _GET_() function

View File

@@ -696,13 +696,16 @@ static int hb_gt_os2_ReadKey( PHB_GT pGT, int iEventMask )
/* zero out keyboard event record */
memset( s_key, 0, sizeof( KBDKEYINFO ) );
#if defined( __WATCOMC__ )
if( s_fBreak )
{
s_fBreak = HB_FALSE; /* Indicate that Ctrl+Break has been handled */
iKey = HB_BREAK_FLAG; /* Note that Ctrl+Break was pressed */
}
else
#endif
/* Get next character without wait */
else if( KbdCharIn( s_key, IO_NOWAIT, ( HKBD ) 0 ) == NO_ERROR )
if( KbdCharIn( s_key, IO_NOWAIT, ( HKBD ) 0 ) == NO_ERROR )
{
iFlags = hb_gt_os2_keyFlags( s_key->fsState );