See ChangeLog entry 19990910-17:00 EDT David G. Holm <dholm@jsd-llc.com>

This commit is contained in:
David G. Holm
1999-09-10 21:15:59 +00:00
parent 7d5eef98c5
commit ea4a49cf9c
2 changed files with 8 additions and 1 deletions

View File

@@ -1,3 +1,10 @@
19990910-17:00 EDT David G. Holm <dholm@jsd-llc.com>
* source/rtl/inkey.c
! In HARBOUR HB_INKEY( void ), the double seconds variable has to
be initialized to 0.0, because not all compilers initialize all
local variables to 0 and seconds is not assigned if INKEY() was
called with no parameters.
19990910-22:10 GMT+1 Victor Szel <info@szelvesz.hu>
* source/vm/hvm.c
! Fixed the operator overloading feature. (Reported by David)

View File

@@ -516,7 +516,7 @@ HARBOUR HB_INKEY( void )
int args = hb_pcount();
int key = 0;
BOOL wait = FALSE, forever = FALSE;
double seconds;
double seconds = 0.0;
HB_inkey_enum event_mask = hb_set.HB_SET_EVENTMASK; /* Default to the SET input event mask */
if( args > 2 )