mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-07 15:50:36 +02:00
* use rtrim instead of a dec(s[0]) method after remark by jc99
git-svn-id: trunk@35992 -
This commit is contained in:
parent
e6e55b3004
commit
e837a8577c
@ -6805,8 +6805,7 @@ begin
|
||||
S:=GetLineText(Line);
|
||||
{ Remove all traling spaces PM }
|
||||
if not Editor^.IsFlagSet(efKeepTrailingSpaces) then
|
||||
While (Length(S)>0) and (S[Length(S)]=' ') do
|
||||
Dec(S[0]);
|
||||
s:=RTrim(S);
|
||||
{ if FlagSet(efUseTabCharacters) then
|
||||
S:=CompressUsingTabs(S,TabSize);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user