summaryrefslogtreecommitdiffstats
path: root/gui/fill.cpp
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@yahoo.com>2013-03-24 14:54:55 +0100
committerDees_Troy <dees_troy@yahoo.com>2013-03-30 14:56:39 +0100
commita13d74fc95324c4318fcc95956b07fe593669412 (patch)
tree74654a9fae5e24e346842da733d68a70c5bfb716 /gui/fill.cpp
parentAdd search function to libtar (diff)
downloadandroid_bootable_recovery-a13d74fc95324c4318fcc95956b07fe593669412.tar
android_bootable_recovery-a13d74fc95324c4318fcc95956b07fe593669412.tar.gz
android_bootable_recovery-a13d74fc95324c4318fcc95956b07fe593669412.tar.bz2
android_bootable_recovery-a13d74fc95324c4318fcc95956b07fe593669412.tar.lz
android_bootable_recovery-a13d74fc95324c4318fcc95956b07fe593669412.tar.xz
android_bootable_recovery-a13d74fc95324c4318fcc95956b07fe593669412.tar.zst
android_bootable_recovery-a13d74fc95324c4318fcc95956b07fe593669412.zip
Diffstat (limited to 'gui/fill.cpp')
-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);