mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2026-02-19 18:36:42 +01:00
Converter: fixed reading a nil variable.
git-svn-id: trunk@27292 -
This commit is contained in:
parent
4c8d3d791b
commit
18f2e518a3
@ -744,7 +744,7 @@ var
|
||||
exit;
|
||||
end;
|
||||
// Remove Windows unit from the list if target is "Windows only".
|
||||
if fSettings.Target=ctLazarusWin then begin
|
||||
if (fSettings.Target=ctLazarusWin) and Assigned(fMissingUnits) then begin
|
||||
for i:=fMissingUnits.Count-1 downto 0 do
|
||||
if LowerCase(fMissingUnits[i])='windows' then begin
|
||||
fMissingUnits.Delete(i);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user