2008-09-20 03:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/source/vm/hvm.c
    * minor modification: #ifdef ... => #if defined( ... )

  * harbour/source/rtl/gtcrs/gtcrs.c
  * harbour/source/rtl/gttrm/gttrm.c
    ! fixed reentrance counter resetting
This commit is contained in:
Przemyslaw Czerpak
2008-09-20 01:39:17 +00:00
parent e67c40b7de
commit d94370e84e
4 changed files with 14 additions and 6 deletions

View File

@@ -8,6 +8,14 @@
2008-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
*/
2008-09-20 03:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/hvm.c
* minor modification: #ifdef ... => #if defined( ... )
* harbour/source/rtl/gtcrs/gtcrs.c
* harbour/source/rtl/gttrm/gttrm.c
! fixed reentrance counter resetting
2008-09-20 00:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
+ harbour/source/rdd/wadetach.c
+ added .prg functions:

View File

@@ -758,8 +758,8 @@ static int wait_key( InOutBase * ioBase, int milisec )
return K_RESIZE;
}
counter = ++( ioBase->key_counter );
restart:
counter = ++( ioBase->key_counter );
nKey = esc = n = i = 0;
again:
if ( ( nKey = getMouseKey( &ioBase->mLastEvt ) ) != 0 )

View File

@@ -1332,8 +1332,8 @@ static int wait_key( PHB_GTTRM pTerm, int milisec )
}
#endif
counter = ++( pTerm->key_counter );
restart:
counter = ++( pTerm->key_counter );
nKey = esc = n = i = 0;
again:
if( ( nKey = getMouseKey( &pTerm->mLastEvt ) ) != 0 )

View File

@@ -975,7 +975,7 @@ HB_EXPORT void hb_vmExecute( const BYTE * pCode, PHB_SYMB pSymbols )
ULONG ulLastOpcode = 0; /* opcodes profiler support */
ULONG ulPastClock = 0; /* opcodes profiler support */
#endif
#ifndef HB_GUI
#if !defined( HB_GUI )
static unsigned short uiPolls = 1;
#endif
@@ -1000,7 +1000,7 @@ HB_EXPORT void hb_vmExecute( const BYTE * pCode, PHB_SYMB pSymbols )
}
#endif
#ifndef HB_GUI
#if !defined( HB_GUI )
if( ! --uiPolls )
{
hb_inkeyPoll();
@@ -5179,7 +5179,7 @@ HB_EXPORT void hb_vmDo( USHORT uiParams )
#endif
/* Poll the console keyboard
#ifndef HB_GUI
#if !defined( HB_GUI )
hb_inkeyPoll();
#endif
*/
@@ -5281,7 +5281,7 @@ HB_EXPORT void hb_vmSend( USHORT uiParams )
#endif
/* Poll the console keyboard
#ifndef HB_GUI
#if !defined( HB_GUI )
hb_inkeyPoll();
#endif
*/