You've already forked lazarus-ccr
* Fix compilation under non win32 and fpc 240
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1120 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -4697,7 +4697,7 @@ begin
|
||||
end;
|
||||
|
||||
Len := Length(Result) - Length(LineEnding);
|
||||
if CompareByte(Result[Len + 1], LineEnding, Length(LineEnding)) = 0 then
|
||||
if CompareByte(Result[Len + 1], String(LineEnding)[1], Length(LineEnding)) = 0 then
|
||||
SetLength(Result, Len);
|
||||
end;
|
||||
|
||||
|
Reference in New Issue
Block a user