mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-12 10:39:08 +02:00
IDEIntf: TrimCustomOptions: trim start and end
git-svn-id: trunk@36318 -
This commit is contained in:
parent
c6e0578538
commit
98e9e68885
@ -2239,12 +2239,8 @@ begin
|
||||
end;
|
||||
|
||||
function TBaseCompilerOptions.TrimCustomOptions(o: string): string;
|
||||
var
|
||||
i: Integer;
|
||||
begin
|
||||
Result:=Trim(o);
|
||||
for i:=length(Result) downto 1 do
|
||||
if Result[i] in [#0..#31,#127] then System.Delete(Result,i,1);
|
||||
Result:=SpecialCharsToSpaces(o,true);
|
||||
end;
|
||||
|
||||
function TBaseCompilerOptions.GetOptionsForCTDefines: string;
|
||||
|
Loading…
Reference in New Issue
Block a user