From 27e91e78b49fdf4a8e2514644e35a9ee7bcde78a Mon Sep 17 00:00:00 2001 From: jrassa Date: Sun, 7 Jan 2018 21:43:18 -0500 Subject: [PATCH] fix resolvePlaceholders to handle multiple variables in a single string --- es-core/src/ThemeData.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es-core/src/ThemeData.cpp b/es-core/src/ThemeData.cpp index cc7a32c77..c6609d52a 100644 --- a/es-core/src/ThemeData.cpp +++ b/es-core/src/ThemeData.cpp @@ -188,7 +188,7 @@ std::string resolvePlaceholders(const char* in) std::string prefix = inStr.substr(0, variableBegin); std::string replace = inStr.substr(variableBegin + 2, variableEnd - (variableBegin + 2)); - std::string suffix = inStr.substr(variableEnd + 1); + std::string suffix = resolvePlaceholders(inStr.substr(variableEnd + 1).c_str()); return prefix + mVariables[replace] + suffix; }