diff options
Diffstat (limited to 'apps/gui/bitmap')
-rw-r--r-- | apps/gui/bitmap/list.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/gui/bitmap/list.c b/apps/gui/bitmap/list.c index 5a8bc69450..a3f5da92ea 100644 --- a/apps/gui/bitmap/list.c +++ b/apps/gui/bitmap/list.c | |||
@@ -285,17 +285,17 @@ void list_draw(struct screen *display, struct viewport *parent, | |||
285 | } | 285 | } |
286 | 286 | ||
287 | 287 | ||
288 | #if defined(HAVE_TOUCHPAD) | 288 | #if defined(HAVE_TOUCHSCREEN) |
289 | /* This needs to be fixed if we ever get more than 1 touchscreen on a target. | 289 | /* This needs to be fixed if we ever get more than 1 touchscreen on a target. |
290 | * This also assumes the whole screen is used, which is a bad assumption but | 290 | * This also assumes the whole screen is used, which is a bad assumption but |
291 | * fine until customizable lists comes in... | 291 | * fine until customizable lists comes in... |
292 | */ | 292 | */ |
293 | static bool scrolling=false; | 293 | static bool scrolling=false; |
294 | 294 | ||
295 | unsigned gui_synclist_do_touchpad(struct gui_synclist * gui_list, struct viewport *parent) | 295 | unsigned gui_synclist_do_touchscreen(struct gui_synclist * gui_list, struct viewport *parent) |
296 | { | 296 | { |
297 | short x, y; | 297 | short x, y; |
298 | unsigned button = action_get_touchpad_press(&x, &y); | 298 | unsigned button = action_get_touchscreen_press(&x, &y); |
299 | int line; | 299 | int line; |
300 | struct screen *display = &screens[SCREEN_MAIN]; | 300 | struct screen *display = &screens[SCREEN_MAIN]; |
301 | if (button == BUTTON_NONE) | 301 | if (button == BUTTON_NONE) |