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
This commit is contained in:
Przemyslaw Czerpak
2010-03-18 15:13:05 +00:00
parent 40e7f5faf9
commit ceed1483be
3 changed files with 9 additions and 4 deletions

View File

@@ -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))

View File

@@ -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 );
}

View File

@@ -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 );
}