FileErase bugfix

This commit is contained in:
mysticbbs 2012-02-24 09:31:31 -05:00
parent cb53e34e2d
commit a0bafcb2d4
1 changed files with 2 additions and 1 deletions

View File

@ -374,7 +374,8 @@ Var
Begin
Assign (F, Str);
SetFAttr (F, Archive);
Erase (F);
{$I-} Erase (F); {$I+}
Result := (IoResult = 0);
End;