pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] CVS: Games/Pingus/src/editor editor_view.cxx,1.5,1.6


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/editor editor_view.cxx,1.5,1.6
Date: 16 Feb 2003 18:40:49 -0000

Update of /usr/local/cvsroot/Games/Pingus/src/editor
In directory dark:/tmp/cvs-serv24772/editor

Modified Files:
        editor_view.cxx 
Log Message:
some minor cleanup


Index: editor_view.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editor/editor_view.cxx,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- editor_view.cxx     12 Oct 2002 00:49:10 -0000      1.5
+++ editor_view.cxx     16 Feb 2003 18:40:47 -0000      1.6
@@ -83,7 +83,7 @@
   if (width < 10 && height < 10)
     return ;
 
-  float screen_relation = get_width () / get_height ();
+  float screen_relation = float(get_width ()) / float(get_height ());
   float rect_reation = width / height;
   
   if (rect_reation > screen_relation)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]