diff --git a/harbour/ChangeLog b/harbour/ChangeLog index eb2d1227a7..02f3bd1f25 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,13 @@ past entries belonging to author(s): Viktor Szakats. */ +2010-02-25 16:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + * contrib/hbziparc/hbziparc.prg + ! Fixed HB_ZIPFILE() not working properly with a password set. + + * include/hbgtinfo.ch + ! Fixed comment for HB_GTI_PALETTE. + 2010-02-25 14:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbxpp/tthreadx.prg + added paramter validation in THREAD:setInterval() and diff --git a/harbour/contrib/hbziparc/hbziparc.prg b/harbour/contrib/hbziparc/hbziparc.prg index fc99819d07..17987988d3 100644 --- a/harbour/contrib/hbziparc/hbziparc.prg +++ b/harbour/contrib/hbziparc/hbziparc.prg @@ -368,7 +368,7 @@ FUNCTION hb_ZipFile( cFileName,; hb_FNameSplit( cFileToZip, @cPath, @cName, @cExt, @cDrive ) hb_ZipFileCreate( hZip, hb_FNameMerge( iif( lWithPath, cPath, NIL ), cName, cExt, iif( lWithDrive, cDrive, NIL ) ),; - NIL, NIL, NIL, NIL, NIL, nLevel, cPassword, NIL, NIL ) + NIL, NIL, NIL, NIL, NIL, nLevel, cPassword, iif( Empty( cPassword ), NIL, hb_ZipFileCRC32( cFileToZip ) ), NIL ) DO WHILE ( nLen := FRead( hHandle, @cBuffer, Len( cBuffer ) ) ) > 0 diff --git a/harbour/include/hbgtinfo.ch b/harbour/include/hbgtinfo.ch index 4cbc4920c6..94a9ebdfed 100644 --- a/harbour/include/hbgtinfo.ch +++ b/harbour/include/hbgtinfo.ch @@ -127,7 +127,7 @@ /* Additional constants to enhance GT */ #define HB_GTI_NOTIFIERBLOCK 51 /* This optional codeblock gets called whenever certain events occur. See HB_GTE_* */ #define HB_GTI_SCREENSIZE 52 /* Get/Set height/width of application window in pixels */ -#define HB_GTI_PALETTE 53 /* Get/Set console colors 1 - 16 given an array of 16 elements containing RGB colors */ +#define HB_GTI_PALETTE 53 /* Get/Set console colors 0 - 15 given an array of 16 elements containing RGB colors */ #define HB_GTI_RESIZEMODE 54 /* Get/Set console resize mode : HB_GTI_RESIZEMODE_FONT | HB_GTI_RESIZEMODE_ROWS */ #define HB_GTI_SETPOS_XY 55 /* Get/Set current top-left position coordinates of the window by pixels */