IDE: Expand IDE macros in Run->Run parameters->Environment->User override. Issue #23469, patch from Cyrax

git-svn-id: trunk@39907 -
This commit is contained in:
juha 2013-01-20 09:34:22 +00:00
parent 3ad44aa03c
commit 47446ad440

View File

@ -22,7 +22,7 @@ unit BaseIDEIntf;
interface
uses
Classes, SysUtils, FileUtil, LazConfigStorage, Dialogs;
Classes, SysUtils, FileUtil, LazConfigStorage, Dialogs, MacroIntf;
type
TGetIDEConfigStorage = function(const Filename: string; LoadFromDisk: Boolean
@ -73,6 +73,7 @@ begin
for i:=0 to Overrides.Count-1 do begin
Variable:=Overrides.Names[i];
Value:=Overrides.Values[Variable];
IDEMacros.SubstituteMacros(Value);
EnvList.Values[Variable]:=Value;
end;
end;