changeset 32962:59f89e650306

Make constants explicitly type float.
author ib
date Tue, 08 Mar 2011 12:12:37 +0000
parents 323f96e59820
children ce00479b68ce
files gui/mplayer/gui_common.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gui/mplayer/gui_common.c	Tue Mar 08 11:08:28 2011 +0000
+++ b/gui/mplayer/gui_common.c	Tue Mar 08 12:12:37 2011 +0000
@@ -277,9 +277,9 @@
           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: