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.38,1.39


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/editor editor_event.cxx,1.38,1.39
Date: 12 Oct 2002 13:01:43 -0000

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

Modified Files:
        editor_event.cxx 
Log Message:
little cleanup

Index: editor_event.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editor/editor_event.cxx,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- editor_event.cxx    12 Oct 2002 00:49:10 -0000      1.38
+++ editor_event.cxx    12 Oct 2002 13:01:40 -0000      1.39
@@ -381,8 +381,7 @@
 {
   if (selection->get_current_obj())
     {
-      EditorObj* obj = selection->get_current_obj();
-      EditorObjGroup* group = dynamic_cast<EditorObjGroup*>(obj);
+      EditorObjGroup* group = 
dynamic_cast<EditorObjGroup*>(selection->get_current_obj());
 
       if (group)
        {      
@@ -393,7 +392,7 @@
              i != objs->end();
              ++i)
            {
-             obj = (*i)->duplicate ();
+             EditorObj* obj = (*i)->duplicate ();
              if (obj)
                {
                  object_manager->add (obj);





reply via email to

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