diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2013-09-05 20:35:51 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2013-09-05 20:35:51 +0200 |
commit | 1165a0882349ce1f1a426c642062dc06d0019265 (patch) | |
tree | be471ad1b96280801f893142ed9d279631e5008a /firmware/target | |
parent | df6eb82f5156256e1999374ce9b1a159610ff9a0 (diff) | |
download | rockbox-1165a0882349ce1f1a426c642062dc06d0019265.tar.gz rockbox-1165a0882349ce1f1a426c642062dc06d0019265.zip |
fix red
Change-Id: Ibca5879553a87e77014f850308d9b54cc339d474
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/hosted/sdl/button-sdl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/hosted/sdl/button-sdl.c b/firmware/target/hosted/sdl/button-sdl.c index f69c0a509b..eb4869ae25 100644 --- a/firmware/target/hosted/sdl/button-sdl.c +++ b/firmware/target/hosted/sdl/button-sdl.c @@ -393,7 +393,9 @@ static void button_event(int key, bool pressed) #endif default: #ifdef HAVE_TOUCHSCREEN +# ifndef HAS_BUTTON_HOLD if(touchscreen_is_enabled()) +# endif new_btn = key_to_touch(key, mouse_coords); if (!new_btn) #endif |