Fixed a bug by missed () in HB_CHAR_SOFT1 compare.
This commit is contained in:
@@ -8,6 +8,10 @@
|
||||
2002-12-01 23:12 UTC+0100 Foo Bar <foo.bar@foobar.org>
|
||||
*/
|
||||
|
||||
2003-07-14 09:10 UTC-0300 Antonio Carlos Pantaglione <toninho@fwi.com.br>
|
||||
* source/rtl/memoline.c
|
||||
! Fixed a bug by missed () in HB_CHAR_SOFT1 compare.
|
||||
|
||||
2003-07-13 14:13 UTC-0400 Alejandro de Garate <alex_degarate@hotmail.com>
|
||||
+ doc/es/gnulice.txt
|
||||
+ doc/es/hvm.txt
|
||||
|
||||
@@ -95,17 +95,17 @@ HB_FUNC( MEMOLINE )
|
||||
break;
|
||||
|
||||
case HB_CHAR_LF:
|
||||
if( !pszString[ ulPos - 1 ] == HB_CHAR_SOFT1 )
|
||||
if( !( pszString[ ulPos - 1 ] == HB_CHAR_SOFT1 ) )
|
||||
{
|
||||
ulCurLength = 0;
|
||||
ulLastSpace = 0;
|
||||
ulLineEnd = ( ulPos >= OS_EOL_LEN ) ? ( ulPos - OS_EOL_LEN ) : ulLineBegin;
|
||||
ulLines++;
|
||||
if( ulLines < ulLineNumber )
|
||||
{
|
||||
ulLineBegin = ulPos + 1;
|
||||
ulLineEnd = 0;
|
||||
}
|
||||
ulCurLength = 0;
|
||||
ulLastSpace = 0;
|
||||
ulLineEnd = ( ulPos >= OS_EOL_LEN ) ? ( ulPos - OS_EOL_LEN ) : ulLineBegin;
|
||||
ulLines++;
|
||||
if( ulLines < ulLineNumber )
|
||||
{
|
||||
ulLineBegin = ulPos + 1;
|
||||
ulLineEnd = 0;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user