From 41375c6f6e57fa52466ff6468e96306be2b9a309 Mon Sep 17 00:00:00 2001 From: Sophia Hadash Date: Mon, 23 Aug 2021 20:57:11 +0200 Subject: [PATCH] remove brackets. --- es-core/src/ThemeData.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/es-core/src/ThemeData.cpp b/es-core/src/ThemeData.cpp index 9ef08656b..5de869eb5 100644 --- a/es-core/src/ThemeData.cpp +++ b/es-core/src/ThemeData.cpp @@ -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) << " element requires the `button` property."; - } else element.properties[btn] = path; }