codetools: fixed updating ppu tool

git-svn-id: trunk@30827 -
This commit is contained in:
mattias 2011-05-20 10:49:50 +00:00
parent 79fe106543
commit 654cff4def

View File

@ -166,8 +166,9 @@ begin
Tool:=TPPUTool.Create(NormalizedFilename);
fItems.Add(Tool);
end;
if not Tool.NeedsUpdate(Parts) then exit;
if not Tool.Load(Parts) then exit;
if Tool.NeedsUpdate(Parts) then begin
if not Tool.Load(Parts) then exit;
end;
Result:=Tool;
end;