2008-07-30 00:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/source/rtl/mlcfunc.c
    ! fixed possible infinite introduce in previous commit
This commit is contained in:
Przemyslaw Czerpak
2008-07-29 22:21:50 +00:00
parent 56293a178a
commit 280cf0f3c3
2 changed files with 6 additions and 6 deletions

View File

@@ -8,6 +8,10 @@
2008-12-31 13:59 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
2008-07-30 00:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/mlcfunc.c
! fixed possible infinite introduce in previous commit
2008-07-29 20:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/mlcfunc.c
! skip SOFTCR when it's on the end of extracted line.

View File

@@ -89,13 +89,9 @@ static ULONG hb_mlGetLine( char * pszString, ULONG ulLen, ULONG ulOffset,
if( pszString[ ulOffset ] == HB_CHAR_SOFT1 &&
pszString[ ulOffset + 1 ] == HB_CHAR_SOFT2 )
{
if( !fWordWrap )
{
if( ulMaxPos == 0 )
ulOffset += 2;
break;
}
ulOffset += 2;
if( !fWordWrap )
break;
continue;
}