[MPlayer-cvslog] r25449 - trunk/libmenu/menu_list.c

ulion subversion at mplayerhq.hu
Tue Dec 18 12:54:17 CET 2007


Author: ulion
Date: Tue Dec 18 12:54:17 2007
New Revision: 25449

Log:
Here should add the minb to x when x>=0 because in later code
we use 'x - minb' to draw bg box when x>=0.


Modified:
   trunk/libmenu/menu_list.c

Modified: trunk/libmenu/menu_list.c
==============================================================================
--- trunk/libmenu/menu_list.c	(original)
+++ trunk/libmenu/menu_list.c	Tue Dec 18 12:54:17 2007
@@ -68,7 +68,7 @@ void menu_list_draw(menu_t* menu,mp_imag
     count++;
   }
   if(need_w > dw) need_w = dw;
-  if(x > 0)
+  if(x >= 0)
     x += mpriv->minb;
   if(y > 0)
     y += mpriv->minb;



More information about the MPlayer-cvslog mailing list