diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 86010a9639..6a4db13414 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,11 @@ past entries belonging to author(s): Viktor Szakats. */ +2010-03-18 16:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/src/rtl/hbzlib.c + * harbour/contrib/hbbzip2/hbbzip2.c + ! fixed typo (reverted return value) in recent modification + 2010-03-18 14:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/axcore.c * use hb_parstr_u16() instead of hb_mbtowc(hb_parc(n)) diff --git a/harbour/contrib/hbbzip2/hbbzip2.c b/harbour/contrib/hbbzip2/hbbzip2.c index ff77c471b2..5e868e2a0c 100644 --- a/harbour/contrib/hbbzip2/hbbzip2.c +++ b/harbour/contrib/hbbzip2/hbbzip2.c @@ -222,9 +222,9 @@ HB_FUNC( HB_BZ2_UNCOMPRESSLEN ) nLen = hb_bz2UncompressedSize( szData, nLen, &iResult ); if( iResult == BZ_OK ) - hb_retni( -1 ); - else hb_retnint( nLen ); + else + hb_retni( -1 ); hb_storni( iResult, 2 ); } diff --git a/harbour/src/rtl/hbzlib.c b/harbour/src/rtl/hbzlib.c index a1be3723a6..59de435076 100644 --- a/harbour/src/rtl/hbzlib.c +++ b/harbour/src/rtl/hbzlib.c @@ -136,9 +136,9 @@ HB_FUNC( HB_ZUNCOMPRESSLEN ) ulLen = hb_zlibUncompressedSize( szData, ulLen, &iResult ); if( iResult == Z_OK ) - hb_retni( -1 ); - else hb_retnint( ulLen ); + else + hb_retni( -1 ); hb_storni( iResult, 2 ); }