2002-11-08 13:16 UTC+0100 Ignacio Ortiz <ignacio@fivetech.com>
This commit is contained in:
@@ -106,7 +106,7 @@ HB_FUNC( MLCOUNT )
|
||||
{
|
||||
if( bWordWrap )
|
||||
{
|
||||
if( ulLastSpace == 0 )
|
||||
if( ulLastSpace == 0 || ulLastSpace == ulCurLength )
|
||||
ulCurLength = 1;
|
||||
else
|
||||
ulCurLength = ulCurLength - ulLastSpace;
|
||||
@@ -123,4 +123,4 @@ HB_FUNC( MLCOUNT )
|
||||
ulLines++;
|
||||
|
||||
hb_retnl( ulLines );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user