summaryrefslogtreecommitdiffstats
path: root/gui/slider.cpp
diff options
context:
space:
mode:
authorMatt Mower <mowerm@gmail.com>2014-04-16 20:43:36 +0200
committerEthan Yonker <dees_troy@teamw.in>2014-06-04 16:13:37 +0200
commitfb1c4ffaafae4843c7edb302351b7df48e02a990 (patch)
tree284a58b5a5b9d827e409bd169a06c2a146a662be /gui/slider.cpp
parentAdd options to repair or change file system (diff)
downloadandroid_bootable_recovery-fb1c4ffaafae4843c7edb302351b7df48e02a990.tar
android_bootable_recovery-fb1c4ffaafae4843c7edb302351b7df48e02a990.tar.gz
android_bootable_recovery-fb1c4ffaafae4843c7edb302351b7df48e02a990.tar.bz2
android_bootable_recovery-fb1c4ffaafae4843c7edb302351b7df48e02a990.tar.lz
android_bootable_recovery-fb1c4ffaafae4843c7edb302351b7df48e02a990.tar.xz
android_bootable_recovery-fb1c4ffaafae4843c7edb302351b7df48e02a990.tar.zst
android_bootable_recovery-fb1c4ffaafae4843c7edb302351b7df48e02a990.zip
Diffstat (limited to 'gui/slider.cpp')
-rw-r--r--gui/slider.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/slider.cpp b/gui/slider.cpp
index 692676561..98d2ddea3 100644
--- a/gui/slider.cpp
+++ b/gui/slider.cpp
@@ -134,7 +134,7 @@ int GUISlider::NotifyTouch(TOUCH_STATE state, int x, int y)
switch (state)
{
case TOUCH_START:
- if (x >= mRenderX && x <= mRenderX + sTouchW &&
+ if (x >= mRenderX && x <= mRenderX + sTouchW &&
y >= mRenderY && y <= mRenderY + mRenderH)
{
sCurTouchX = x - (sTouchW / 2);