IDE: small optimization when adding example files to recent files list.

git-svn-id: trunk@32004 -
This commit is contained in:
juha 2011-08-18 16:24:19 +00:00
parent 6f3b1db700
commit dc58625e58

View File

@ -927,7 +927,6 @@ var
WholeFilePath: String;
begin
aProjPath:=SwitchPathDelims(aProjPath, True);
aProjFile:=SwitchPathDelims(aProjFile, True);
WholeFilePath:=ExtractFilePath(Application.ExeName) + aProjPath + aProjFile;
if FileIsWritable(aProjPath) and FileIsWritable(WholeFilePath) then
AddToRecentList(WholeFilePath, FRecentProjectFiles, FMaxRecentProjectFiles);