IDE: ide info: fixed showing project units only once

git-svn-id: trunk@40159 -
This commit is contained in:
mattias 2013-02-03 13:32:28 +00:00
parent b4ebc18e46
commit 0c54ae136b

View File

@ -275,15 +275,16 @@ begin
then begin
if not HeaderWritten then begin
sl.Add('Project units:');
s:=aFile.GetShortFilename(true);
if aFile.Modified then
s:=s+' Modified';
if aFile.SessionModified then
s:=s+' SessionModified';
if (aFile.Source<>nil) and (aFile.Source.Modified) then
s:=s+' Source.Modified';
sl.Add(s);
HeaderWritten:=true;
end;
s:=aFile.GetShortFilename(true);
if aFile.Modified then
s:=s+' Modified';
if aFile.SessionModified then
s:=s+' SessionModified';
if (aFile.Source<>nil) and (aFile.Source.Modified) then
s:=s+' Source.Modified';
sl.Add(s);
end;
aFile:=aFile.NextPartOfProject;
end;