mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +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.
|
||||
if (strcmp(node.name(), "customButtonIcon") == 0) {
|
||||
const auto btn = node.attribute("button").as_string("");
|
||||
if (strcmp(btn, "") == 0) {
|
||||
if (strcmp(btn, "") == 0)
|
||||
LOG(LogError)
|
||||
<< "<customButtonIcon> element requires the `button` property.";
|
||||
}
|
||||
else
|
||||
element.properties[btn] = path;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue