mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-18 07:05:39 +00:00
Added support for nested theme variables.
This commit is contained in:
parent
b987dd9cff
commit
3a8d19bad5
|
@ -981,7 +981,7 @@ void ThemeData::parseVariables(const pugi::xml_node& root)
|
|||
|
||||
for (pugi::xml_node_iterator it = variables.begin(); it != variables.end(); ++it) {
|
||||
std::string key {it->name()};
|
||||
std::string val {it->text().as_string()};
|
||||
std::string val {resolvePlaceholders(it->text().as_string())};
|
||||
|
||||
if (!val.empty())
|
||||
mVariables.insert(std::pair<std::string, std::string>(key, val));
|
||||
|
|
Loading…
Reference in a new issue