forked from len0rd/rockbox
fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19623 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e385ee18ce
commit
79b3e87004
1 changed files with 2 additions and 1 deletions
|
|
@ -296,9 +296,10 @@ unsigned gui_synclist_do_touchscreen(struct gui_synclist * gui_list)
|
||||||
int button = action_get_touchscreen_press(&x, &y);
|
int button = action_get_touchscreen_press(&x, &y);
|
||||||
int line;
|
int line;
|
||||||
struct screen *display = &screens[SCREEN_MAIN];
|
struct screen *display = &screens[SCREEN_MAIN];
|
||||||
|
int screen = display->screen_type;
|
||||||
if (button == BUTTON_NONE)
|
if (button == BUTTON_NONE)
|
||||||
return ACTION_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 */
|
/* Top left corner is hopefully GO_TO_ROOT */
|
||||||
if (y<list_text[SCREEN_MAIN].y)
|
if (y<list_text[SCREEN_MAIN].y)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue