mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 14:19:11 +02:00
ide: project target: apply default extension even if the file has already an extension, issue #22750
git-svn-id: trunk@38437 -
This commit is contained in:
parent
d54a1f4647
commit
220eac068b
@ -1819,7 +1819,7 @@ function TBaseCompilerOptions.CreateTargetFilename(
|
||||
var
|
||||
Ext: String;
|
||||
begin
|
||||
if (ExtractFileName(Result)='') or (ExtractFileExt(Result)<>'') then exit;
|
||||
if (ExtractFileName(Result)='') then exit;
|
||||
Ext:=GetTargetFileExt;
|
||||
if Ext<>'' then begin
|
||||
Result:=Result+Ext;
|
||||
|
Loading…
Reference in New Issue
Block a user