mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 11:30:28 +02:00
IDE: code help: fixed ToOSLineEnding
git-svn-id: trunk@22163 -
This commit is contained in:
parent
950305ea23
commit
62850ac64c
@ -360,7 +360,7 @@ begin
|
||||
// single char line ending #13 or #10
|
||||
if (length(le)<>1)
|
||||
or (le[1]<>s[p]) then begin
|
||||
Result:=copy(Result,1,p-1)+le+copy(Result,p+2,length(Result));
|
||||
Result:=copy(Result,1,p-1)+le+copy(Result,p+1,length(Result));
|
||||
end;
|
||||
end;
|
||||
inc(p);
|
||||
|
Loading…
Reference in New Issue
Block a user