[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rockbox-cvs
Subject:    jdgordon: r19623 - trunk/apps/gui/bitmap
From:       mailer () svn ! rockbox ! org
Date:       2008-12-31 6:11:23
Message-ID: 200812310611.mBV6BNC6012415 () giant ! haxx ! se
[Download RAW message or body]

Date: 2008-12-31 07:11:23 +0100 (Wed, 31 Dec 2008)
New Revision: 19623

Log Message:
fix red


Modified:
   trunk/apps/gui/bitmap/list.c

Modified: trunk/apps/gui/bitmap/list.c
===================================================================
--- trunk/apps/gui/bitmap/list.c	2008-12-31 05:59:26 UTC (rev 19622)
+++ trunk/apps/gui/bitmap/list.c	2008-12-31 06:11:23 UTC (rev 19623)
@@ -296,9 +296,10 @@
     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)

_______________________________________________
rockbox-cvs mailing list
rockbox-cvs@cool.haxx.se
http://cool.haxx.se/cgi-bin/mailman/listinfo/rockbox-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic