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.
This commit is contained in:
Viktor Szakats
2009-06-26 19:52:20 +00:00
parent 1188dd32c6
commit f4bd5a2e66
2 changed files with 6 additions and 2 deletions

View File

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

View File

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