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/hosted | |
parent | df6eb82f5156256e1999374ce9b1a159610ff9a0 (diff) | |
download | rockbox-1165a0882349ce1f1a426c642062dc06d0019265.tar.gz rockbox-1165a0882349ce1f1a426c642062dc06d0019265.zip |
fix red
Change-Id: Ibca5879553a87e77014f850308d9b54cc339d474
Diffstat (limited to 'firmware/target/hosted')
-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) | |||
393 | #endif | 393 | #endif |
394 | default: | 394 | default: |
395 | #ifdef HAVE_TOUCHSCREEN | 395 | #ifdef HAVE_TOUCHSCREEN |
396 | # ifndef HAS_BUTTON_HOLD | ||
396 | if(touchscreen_is_enabled()) | 397 | if(touchscreen_is_enabled()) |
398 | # endif | ||
397 | new_btn = key_to_touch(key, mouse_coords); | 399 | new_btn = key_to_touch(key, mouse_coords); |
398 | if (!new_btn) | 400 | if (!new_btn) |
399 | #endif | 401 | #endif |