IDE: fixed backup in TUnitInfo.WriteUnitSourceToFile, bug #14167

git-svn-id: trunk@21124 -
This commit is contained in:
mattias 2009-08-06 17:01:06 +00:00
parent b8cdcc7406
commit 34b973c44f

View File

@ -1037,7 +1037,7 @@ begin
exit; exit;
end; end;
if Assigned(fOnFileBackup) then begin if Assigned(fOnFileBackup) then begin
Result:=fOnFileBackup(Filename); Result:=fOnFileBackup(AFilename);
if Result=mrAbort then exit; if Result=mrAbort then exit;
end; end;
repeat repeat