summaryrefslogtreecommitdiffstats
path: root/firmware/target/hosted
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-07-10 02:50:16 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-07-10 02:50:16 +0000
commit0b86dda3101b0e5198df5022e6dbd8295ef66a72 (patch)
tree9e27290e3a62c6cc80e45412ed4564a2adf897c0 /firmware/target/hosted
parent1edfe3fd473ebd336a8f9738d9199fd371245942 (diff)
downloadrockbox-0b86dda3101b0e5198df5022e6dbd8295ef66a72.tar.gz
rockbox-0b86dda3101b0e5198df5022e6dbd8295ef66a72.tar.bz2
rockbox-0b86dda3101b0e5198df5022e6dbd8295ef66a72.zip
SDL: fix typo
BUTTON_LEFT is a rockbox define, we must use SDL_BUTTON_LEFT git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27367 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/hosted')
-rw-r--r--firmware/target/hosted/sdl/button-sdl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/hosted/sdl/button-sdl.c b/firmware/target/hosted/sdl/button-sdl.c
index 6890aae0ec..0edbe81615 100644
--- a/firmware/target/hosted/sdl/button-sdl.c
+++ b/firmware/target/hosted/sdl/button-sdl.c
@@ -164,7 +164,7 @@ static void mouse_event(SDL_MouseButtonEvent *event, bool button_up)
break;
}
- if (debug_wps && event->button == BUTTON_LEFT)
+ if (debug_wps && event->button == SDL_BUTTON_LEFT)
{
int m_x, m_y;