diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2008-12-31 06:11:23 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2008-12-31 06:11:23 +0000 |
commit | 79b3e8700439d6fad13ce690b01d3d9e3e5dcdfd (patch) | |
tree | 1a975bfd9a7f78333c3ca3c83ca12f91ea8da348 /apps/gui | |
parent | e385ee18ce501e26189d5a2a68d092104720df30 (diff) |
fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19623 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui')
-rw-r--r-- | apps/gui/bitmap/list.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/gui/bitmap/list.c b/apps/gui/bitmap/list.c index 3b2f16db8c..074f72a179 100644 --- a/apps/gui/bitmap/list.c +++ b/apps/gui/bitmap/list.c @@ -296,9 +296,10 @@ unsigned gui_synclist_do_touchscreen(struct gui_synclist * gui_list) int button = action_get_touchscreen_press(&x, &y); int line; struct screen *display = &screens[SCREEN_MAIN]; + int screen = display->screen_type; if (button == BUTTON_NONE) return ACTION_NONE; - if (x<list_text[SCREEN_MAIN].x) + if (x<list_text[screen].x) { /* Top left corner is hopefully GO_TO_ROOT */ if (y<list_text[SCREEN_MAIN].y) |