mirror of https://gitlab.com/basile.b/dexed.git
fix, <CPFS> passed with Add() instead of AddText()
broke the analysis in projects. AddText() adds serveral separated items.
This commit is contained in:
parent
fc7f55c493
commit
e6e007ae25
|
@ -272,7 +272,6 @@ begin
|
|||
if not exeInSysPath(ToolExeName) then exit;
|
||||
ctxt := getContext;
|
||||
if ctxt = tcNone then exit;
|
||||
if (fDoc = nil) and (fProj = nil)then exit;
|
||||
//
|
||||
killToolProcess;
|
||||
// process parameter
|
||||
|
@ -291,8 +290,8 @@ begin
|
|||
fToolProcess.OnReadData := @procOutput;
|
||||
|
||||
// files passed to the tool argument
|
||||
if ctxt = tcProject then fToolProcess.Parameters.Add(symbolExpander.get('<CPFS>'))
|
||||
else fToolProcess.Parameters.AddText(symbolExpander.get('<CFF>'));
|
||||
if ctxt = tcProject then fToolProcess.Parameters.AddText(symbolExpander.get('<CPFS>'))
|
||||
else fToolProcess.Parameters.Add(symbolExpander.get('<CFF>'));
|
||||
//
|
||||
fToolProcess.Execute;
|
||||
end;
|
||||
|
|
Loading…
Reference in New Issue