IDE: removed a leftover loop in TMainIDE.DoCloseEditorFile, working identically with the remaining loop.

git-svn-id: trunk@27426 -
This commit is contained in:
juha 2010-09-21 15:18:55 +00:00
parent 19d1bedc52
commit 53f9372ad7

View File

@ -8243,8 +8243,6 @@ begin
Result:=mrOk;
while (AnUnitInfo.OpenEditorInfoCount > 0) and (Result = mrOK) do
Result:=DoCloseEditorFile(AnUnitInfo.OpenEditorInfo[0].EditorComponent, Flags);
while (AnUnitInfo.OpenEditorInfoCount > 0) and
(DoCloseEditorFile(AnUnitInfo.OpenEditorInfo[0].EditorComponent, Flags) = mrOK) do;
end;
function TMainIDE.DoCloseEditorFile(AEditor: TSourceEditorInterface;