Don't insert a dollar sign for custom variables replacement
Change-Id: Ib62e65cc1e9634a1e93300f91adf85c9dad66194
This commit is contained in:
parent
ea25d4b74b
commit
b93901e107
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ size_t Util::streamCustomVariables(std::string &str){
|
|||
for (size_t i = 0; i < varAccX.getEndPos(); i++){
|
||||
// Replace $thisName with $thisVal
|
||||
if (varAccX.getPointer("name", i)){
|
||||
std::string thisName = "$" + std::string(varAccX.getPointer("name", i));
|
||||
std::string thisName = std::string(varAccX.getPointer("name", i));
|
||||
std::string thisVal = std::string(varAccX.getPointer("lastVal", i));
|
||||
count += replaceVar(str, thisName, thisVal);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue