diff options
author | Ethan Yonker <dees_troy@teamw.in> | 2015-02-18 21:35:00 +0100 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2015-02-21 15:14:24 +0100 |
commit | 21ff02a69331fbcd53dc93a1af9a93618225b4bf (patch) | |
tree | 623fe5a07a506362b91a16b34d62a875b3d45c32 /gui/checkbox.cpp | |
parent | gui: make kinetic scrolling deceleration more awesome (diff) | |
download | android_bootable_recovery-21ff02a69331fbcd53dc93a1af9a93618225b4bf.tar android_bootable_recovery-21ff02a69331fbcd53dc93a1af9a93618225b4bf.tar.gz android_bootable_recovery-21ff02a69331fbcd53dc93a1af9a93618225b4bf.tar.bz2 android_bootable_recovery-21ff02a69331fbcd53dc93a1af9a93618225b4bf.tar.lz android_bootable_recovery-21ff02a69331fbcd53dc93a1af9a93618225b4bf.tar.xz android_bootable_recovery-21ff02a69331fbcd53dc93a1af9a93618225b4bf.tar.zst android_bootable_recovery-21ff02a69331fbcd53dc93a1af9a93618225b4bf.zip |
Diffstat (limited to '')
-rw-r--r-- | gui/checkbox.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/checkbox.cpp b/gui/checkbox.cpp index f4900ba2c..46a770861 100644 --- a/gui/checkbox.cpp +++ b/gui/checkbox.cpp @@ -45,7 +45,7 @@ GUICheckbox::GUICheckbox(xml_node<>* node) mLabel = new GUIText(node); // Read the check states - child = node->first_node("image"); + child = FindNode(node, "image"); if (child) { mChecked = LoadAttrImage(child, "checked"); @@ -53,7 +53,7 @@ GUICheckbox::GUICheckbox(xml_node<>* node) } // Get the variable data - child = node->first_node("data"); + child = FindNode(node, "data"); if (child) { attr = child->first_attribute("variable"); |