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_event.cxx,1.58,1.59 edi


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/editor editor_event.cxx,1.58,1.59 editor_view.cxx,1.8,1.9
Date: 17 Jun 2003 14:09:22 -0000

Update of /var/lib/cvs/Games/Pingus/src/editor
In directory dark:/tmp/cvs-serv5583/editor

Modified Files:
        editor_event.cxx editor_view.cxx 
Log Message:
a bunch of very small code cleanups

Index: editor_event.cxx
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/editor/editor_event.cxx,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- editor_event.cxx    24 Apr 2003 15:18:19 -0000      1.58
+++ editor_event.cxx    17 Jun 2003 14:09:20 -0000      1.59
@@ -274,7 +274,7 @@
          break;
 
        case CL_KEY_F2:
-         HTMLBrowser::launch ("http://pingus.seul.org/levels.html";);
+          HTMLBrowser::launch ("http://pingus.seul.org/levels.html";);
          break;
 
          // Change the width and height of the current level.

Index: editor_view.cxx
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/editor/editor_view.cxx,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- editor_view.cxx     19 Apr 2003 10:23:18 -0000      1.8
+++ editor_view.cxx     17 Jun 2003 14:09:20 -0000      1.9
@@ -66,10 +66,10 @@
 {
   CL_Rect rect;
 
-  rect.x1 = Math::min (arg_rect.x1, arg_rect.x2);
-  rect.x2 = Math::max (arg_rect.x1, arg_rect.x2);
-  rect.y1 = Math::min (arg_rect.y1, arg_rect.y2);
-  rect.y2 = Math::max (arg_rect.y1, arg_rect.y2);
+  rect.x1 = Math::min(arg_rect.x1, arg_rect.x2);
+  rect.x2 = Math::max(arg_rect.x1, arg_rect.x2);
+  rect.y1 = Math::min(arg_rect.y1, arg_rect.y2);
+  rect.y2 = Math::max(arg_rect.y1, arg_rect.y2);
 
   Vector pos1 = screen_to_world (Vector(rect.x1, rect.y1));
   Vector pos2 = screen_to_world (Vector(rect.x2, rect.y2));





reply via email to

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