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.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25449 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ulion 2007-12-18 11:54:17 +00:00
parent cccac8fa2a
commit 007988abf8
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ void menu_list_draw(menu_t* menu,mp_image_t* mpi) {
count++;
}
if(need_w > dw) need_w = dw;
if(x > 0)
if(x >= 0)
x += mpriv->minb;
if(y > 0)
y += mpriv->minb;