From 1ba39e4215f71c5b097779fb85647018da2adaf9 Mon Sep 17 00:00:00 2001 From: Ignacio Ortiz de Zuniga Date: Fri, 6 Jul 2001 09:37:56 +0000 Subject: [PATCH] Tab expand fixed bug --- harbour/source/rtl/mlcount.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/harbour/source/rtl/mlcount.c b/harbour/source/rtl/mlcount.c index 59eb541af0..eac78add69 100644 --- a/harbour/source/rtl/mlcount.c +++ b/harbour/source/rtl/mlcount.c @@ -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 ); -} +} \ No newline at end of file