ide: fix TProjectResources.UpdateMainSourceFile

git-svn-id: trunk@16930 -
This commit is contained in:
paul 2008-10-08 14:42:21 +00:00
parent 05b1773521
commit d12a0012a2

View File

@ -24,9 +24,11 @@
* * * *
*************************************************************************** ***************************************************************************
Abstract: Abstract: Project Resources - is a list of System and Lazarus resources.
Currently it contains:
- Version information
- XP manifest
- Project icon
} }
unit ProjectResources; unit ProjectResources;
@ -244,6 +246,8 @@ var
Filename: String; Filename: String;
begin begin
Result := False; Result := False;
if not Update then
Exit;
CodeBuf := CodeToolBoss.LoadFile(AFilename, False, False); CodeBuf := CodeToolBoss.LoadFile(AFilename, False, False);
if CodeBuf <> nil then if CodeBuf <> nil then
begin begin