Tab expand fixed bug
This commit is contained in:
@@ -76,6 +76,7 @@ HB_FUNC( MLCOUNT )
|
||||
{
|
||||
case HB_CHAR_HT:
|
||||
ulCurLength = ( ( ULONG ) ( ulCurLength / ulTabLength ) * ulTabLength ) + ulTabLength;
|
||||
ulLastSpace = ulCurLength;
|
||||
break;
|
||||
|
||||
case HB_CHAR_LF:
|
||||
@@ -117,4 +118,4 @@ HB_FUNC( MLCOUNT )
|
||||
ulLines++;
|
||||
|
||||
hb_retnl( ulLines );
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user