summaryrefslogtreecommitdiff
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
parent1edfe3fd473ebd336a8f9738d9199fd371245942 (diff)
downloadrockbox-0b86dda3101b0e5198df5022e6dbd8295ef66a72.tar.gz
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
-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)
164 break; 164 break;
165 } 165 }
166 166
167 if (debug_wps && event->button == BUTTON_LEFT) 167 if (debug_wps && event->button == SDL_BUTTON_LEFT)
168 { 168 {
169 int m_x, m_y; 169 int m_x, m_y;
170 170