From ada19e995f5ba61dd9f9393fc34a3de06f5a6759 Mon Sep 17 00:00:00 2001 From: "David G. Holm" Date: Fri, 4 Jun 1999 17:43:45 +0000 Subject: [PATCH] See ChangeLog entry 19990604-12:35 EDT David G. Holm --- harbour/ChangeLog | 4 ++++ harbour/source/rtl/dates.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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