diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 29d65a2b8f..242723cdc6 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,10 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-06-25 21:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * contrib/hbct/justify.c + ! Fixed typo in one of recent const patches. + 2009-06-25 20:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * source/common/hbhash.c ! Fixed error in prev commit. diff --git a/harbour/contrib/hbct/justify.c b/harbour/contrib/hbct/justify.c index df2c545e08..6a9f968077 100644 --- a/harbour/contrib/hbct/justify.c +++ b/harbour/contrib/hbct/justify.c @@ -107,7 +107,7 @@ static void do_justify( int iSwitch ) pc++; } hb_xmemcpy( pcRet, pcString + sJustOffset, sStrLen - sJustOffset ); - for( pcw = pcRet + sStrLen - sJustOffset; pc < pcRet + sStrLen; pc++ ) + for( pcw = pcRet + sStrLen - sJustOffset; pcw < pcRet + sStrLen; pcw++ ) { *pcw = cJustChar; } @@ -121,7 +121,7 @@ static void do_justify( int iSwitch ) sJustOffset++; pc--; } - for( pcw = pcRet; pc < pcRet + sJustOffset; pc++ ) + for( pcw = pcRet; pcw < pcRet + sJustOffset; pcw++ ) { *pcw = cJustChar; }