diff options
Diffstat (limited to 'Gui/mplayer')
-rw-r--r-- | Gui/mplayer/common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Gui/mplayer/common.c b/Gui/mplayer/common.c index d206b4d27c..72f640d788 100644 --- a/Gui/mplayer/common.c +++ b/Gui/mplayer/common.c @@ -252,7 +252,8 @@ void Render( wsTWindow * window,wItem * Items,int nrItems,char * db,int size ) { char * t = Translate( item->label ); int l = fntTextWidth( item->fontid,t ); - image=fntRender( item,(GetTimerMS() / 20)%(l?l:item->width),"%s",t ); + l=(l?l:item->width); + image=fntRender( item,l-(GetTimerMS() / 20)%l,"%s",t ); } if ( image ) PutImage( image,item->x,item->y,1,0 ); break; |