mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-11 00:28:18 +02:00
Converter: fixed access violation (bug #7503)
git-svn-id: trunk@10269 -
This commit is contained in:
parent
a4f24ffb45
commit
93cdf93327
@ -583,8 +583,10 @@ begin
|
||||
if not FileExists(DOFFilename) then exit(mrOk);
|
||||
if AProjPkg is TProject then begin
|
||||
AProject:=TProject(AProjPkg);
|
||||
APackage:=nil;
|
||||
CompOpts:=AProject.CompilerOptions;
|
||||
end else if AProjPkg is TLazPackage then begin
|
||||
AProject:=nil;
|
||||
APackage:=TLazPackage(AProjPkg);
|
||||
CompOpts:=APackage.CompilerOptions;
|
||||
end else
|
||||
|
Loading…
Reference in New Issue
Block a user