summaryrefslogtreecommitdiffstats
path: root/gui/button.cpp
diff options
context:
space:
mode:
authorMatt Mower <mowerm@gmail.com>2016-01-02 01:38:43 +0100
committerMatt Mower <mowerm@gmail.com>2017-01-18 21:10:04 +0100
commitc39b1b4e5178e7f2798de84b0bc5009aa2e9e95f (patch)
treefa07e2e11a9ac9e9743240ab691ab7ac7d8ae37a /gui/button.cpp
parentHardwareKeyboard: Update event logging (diff)
downloadandroid_bootable_recovery-c39b1b4e5178e7f2798de84b0bc5009aa2e9e95f.tar
android_bootable_recovery-c39b1b4e5178e7f2798de84b0bc5009aa2e9e95f.tar.gz
android_bootable_recovery-c39b1b4e5178e7f2798de84b0bc5009aa2e9e95f.tar.bz2
android_bootable_recovery-c39b1b4e5178e7f2798de84b0bc5009aa2e9e95f.tar.lz
android_bootable_recovery-c39b1b4e5178e7f2798de84b0bc5009aa2e9e95f.tar.xz
android_bootable_recovery-c39b1b4e5178e7f2798de84b0bc5009aa2e9e95f.tar.zst
android_bootable_recovery-c39b1b4e5178e7f2798de84b0bc5009aa2e9e95f.zip
Diffstat (limited to '')
-rw-r--r--gui/button.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/button.cpp b/gui/button.cpp
index 45614e461..a9b02a305 100644
--- a/gui/button.cpp
+++ b/gui/button.cpp
@@ -85,7 +85,7 @@ GUIButton::GUIButton(xml_node<>* node)
mHighlightColor = LoadAttrColor(FindNode(node, "highlight"), "color", &hasHighlightColor);
- int x, y, w, h;
+ int x = 0, y = 0, w = 0, h = 0;
TextPlacement = TOP_LEFT;
if (mButtonImg) {
mButtonImg->GetRenderPos(x, y, w, h);