* fixed "EInOutError : File not found" exception if .rc file not found.

git-svn-id: trunk@7624 -
This commit is contained in:
yury 2007-06-10 13:04:56 +00:00
parent b998cb1208
commit eac1c293e4

View File

@ -187,7 +187,7 @@ var
i: longint;
begin
Result:=CompareText(ExtractFileExt(fn), target_info.resext) = 0;
if Result then exit;
if Result or not FileExists(fn, False) then exit;
oldfmode:=Filemode;
Filemode:=0;
assign(f,fn);