mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 22:16:17 +02:00
IDE: Fix a logic error in a624d0c027
. Issue #39958.
This commit is contained in:
parent
d65a845812
commit
1566610acf
@ -848,7 +848,7 @@ procedure TProjectResources.UpdateLrsCodeBuffer;
|
||||
var
|
||||
CodeBuf: TCodeBuffer;
|
||||
begin
|
||||
if not (FLrsIncludeAllowed or HasLazarusResources) then Exit;
|
||||
if not (FLrsIncludeAllowed and HasLazarusResources) then Exit;
|
||||
CodeBuf := CodeToolBoss.CreateFile(lrsFileName);
|
||||
CodeBuf.Source := FLazarusResources.Text;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user