mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-04-10 19:15:13 +00:00
remove brackets.
This commit is contained in:
parent
b9b3e35e09
commit
41375c6f6e
|
|
@ -507,10 +507,9 @@ void ThemeData::parseElement(const pugi::xml_node& root,
|
||||||
// attribute to prevent nodes overwriting each other.
|
// attribute to prevent nodes overwriting each other.
|
||||||
if (strcmp(node.name(), "customButtonIcon") == 0) {
|
if (strcmp(node.name(), "customButtonIcon") == 0) {
|
||||||
const auto btn = node.attribute("button").as_string("");
|
const auto btn = node.attribute("button").as_string("");
|
||||||
if (strcmp(btn, "") == 0) {
|
if (strcmp(btn, "") == 0)
|
||||||
LOG(LogError)
|
LOG(LogError)
|
||||||
<< "<customButtonIcon> element requires the `button` property.";
|
<< "<customButtonIcon> element requires the `button` property.";
|
||||||
}
|
|
||||||
else
|
else
|
||||||
element.properties[btn] = path;
|
element.properties[btn] = path;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue