summaryrefslogtreecommitdiffstats
path: root/gui/fill.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gui/fill.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/fill.cpp b/gui/fill.cpp
index 094814e0f..11b700fc5 100644
--- a/gui/fill.cpp
+++ b/gui/fill.cpp
@@ -35,8 +35,10 @@ GUIFill::GUIFill(xml_node<>* node)
return;
attr = node->first_attribute("color");
- if (!attr)
+ if (!attr) {
+ LOGE("No color specified for fill\n");
return;
+ }
std::string color = attr->value();
ConvertStrToColor(color, &mColor);