[Top][All Lists]
[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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/editor editor_view.cxx,1.5,1.6,
grumbel <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src Makefile.am,1.127,1.128 display_graphic_context.cxx,1.8,1.9 pingus_main.cxx,1.40,1.41
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src/editorobjs Makefile.am,1.13,1.14
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src Makefile.am,1.127,1.128 display_graphic_context.cxx,1.8,1.9 pingus_main.cxx,1.40,1.41
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src/editorobjs Makefile.am,1.13,1.14
- Index(es):