mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-18 10:29:39 +02:00
Tools, LazRes, trim filelist which should fix the case when there are spaces before the file name, issue #24139
git-svn-id: trunk@40685 -
This commit is contained in:
parent
a3c424c1e1
commit
8d3eece0e7
@ -90,8 +90,11 @@ begin
|
||||
// cleanup lines
|
||||
for a:=fileList.Count-1 downto 0 do begin
|
||||
s := Trim(filelist[a]);
|
||||
if (s='') or (s[1]='#') then
|
||||
if (s='') or (s[1]='#') then begin
|
||||
filelist.Delete(a);
|
||||
continue;
|
||||
end;
|
||||
filelist[a] := s;
|
||||
if filelist.Names[a]='' then
|
||||
filelist[a] := filelist[a] + '=';
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user