diff --git a/harbour/ChangeLog b/harbour/ChangeLog index b871b32048..0b3adfb672 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -1,3 +1,7 @@ +19990604-12:35 EDT David G. Holm + * source/rtl/dates.c + - Corrected HARBOUR DOW() to use _retni() instead of _retnl() + 19990604-12:30 EDT David G. Holm * source/vm/hvm.c - Corrected HARBOUR ERRORLEVEL() to not change the error level if diff --git a/harbour/source/rtl/dates.c b/harbour/source/rtl/dates.c index 2567c0da93..232783a504 100644 --- a/harbour/source/rtl/dates.c +++ b/harbour/source/rtl/dates.c @@ -475,7 +475,7 @@ HARBOUR DOW( void ) if( pDate ) { hb_dateDecode( pDate->value.lDate, &lDay, &lMonth, &lYear ); - _retnl( hb_dow( lDay, lMonth, lYear ) ); + _retni( hb_dow( lDay, lMonth, lYear ) ); stack.Return.wLength = 3; } else