diff gui/mplayer/gui_common.c @ 32759:63844ef43932

Remove useless format argument. Because scrolling of dynamic labels depends on the length of the label text, any other format than %s to render would be pointless.
author ib
date Thu, 03 Feb 2011 14:19:19 +0000
parents e922613845cc
children 3ceeb62a1125
line wrap: on
line diff
--- a/gui/mplayer/gui_common.c	Thu Feb 03 14:04:43 2011 +0000
+++ b/gui/mplayer/gui_common.c	Thu Feb 03 14:19:19 2011 +0000
@@ -294,14 +294,14 @@
 	    3,item->pressed );
           break;
      case itSLabel:
-          image=fntRender( item,0,"%s",item->label );
+          image=fntRender( item,0,item->label );
           if ( image ) PutImage( image,item->x,item->y,1,0 );
      case itDLabel:
           {
            char * t = Translate( item->label );
            int    l = fntTextWidth( item->fontid,t );
            l=(l?l:item->width);
-           image=fntRender( item,l-(GetTimerMS() / 20)%l,"%s",t );
+           image=fntRender( item,l-(GetTimerMS() / 20)%l,t );
 	  }
           if ( image ) PutImage( image,item->x,item->y,1,0 );
           break;