From 0b86dda3101b0e5198df5022e6dbd8295ef66a72 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Sat, 10 Jul 2010 02:50:16 +0000 Subject: 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 --- firmware/target/hosted/sdl/button-sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3