[MPlayer-cvslog] r33049 - trunk/gui/mplayer/gui_common.c

ib subversion at mplayerhq.hu
Tue Mar 8 13:12:38 CET 2011


Author: ib
Date: Tue Mar  8 13:12:37 2011
New Revision: 33049

Log:
Make constants explicitly type float.

Modified:
   trunk/gui/mplayer/gui_common.c

Modified: trunk/gui/mplayer/gui_common.c
==============================================================================
--- trunk/gui/mplayer/gui_common.c	Tue Mar  8 12:08:28 2011	(r33048)
+++ trunk/gui/mplayer/gui_common.c	Tue Mar  8 13:12:37 2011	(r33049)
@@ -277,9 +277,9 @@ void Render( wsTWindow * window,wItem * 
           PutImage( &item->Bitmap,
 	    item->x,item->y,
 	    item->numphases,
-	    item->numphases * ( 1. - item->value / 100.0f ) );
+	    item->numphases * ( 1.0f - item->value / 100.0f ) );
           PutImage( &item->Mask,
-	    item->x,item->y + (int)( ( item->height - item->pheight ) * ( 1. - item->value / 100.0f ) ),
+	    item->x,item->y + (int)( ( item->height - item->pheight ) * ( 1.0f - item->value / 100.0f ) ),
 	    3,ofs );
           break;
      case itSLabel:


More information about the MPlayer-cvslog mailing list