IDE: fixed changing empty project target file

git-svn-id: trunk@48640 -
This commit is contained in:
mattias 2015-04-06 09:03:39 +00:00
parent 6469a000d3
commit 3024ff1269

View File

@ -1955,7 +1955,7 @@ begin
if Result='' then
begin
// the compiler cuts off the source extension
TargetFilename:=ExtractFileNameOnly(GetDefaultMainSourceFileName);
Result:=ExtractFileNameOnly(GetDefaultMainSourceFileName);
end else begin
if Assigned(ParsedOpts.OnLocalSubstitute) then
begin