comet and comet3d macros updated after https://codereview.scilab.org/#/c/16036/ 84/16284/1
Adeline CARNIS [Mon, 30 Mar 2015 12:52:17 +0000 (14:52 +0200)]
Change-Id: I648fdb50b282054cca79a426f4bec11bc4fa1108

scilab/modules/graphics/macros/comet.sci
scilab/modules/graphics/macros/comet3d.sci

index 0999e4f..e61005b 100644 (file)
@@ -168,5 +168,5 @@ function comet(varargin)
         delete(body)
     endfunction
     //not to generate an error message if the window is closed
-    exec(anim,-1,"errcatch")
+    exec(anim, "errcatch", -1);
 endfunction
index 984dda9..f5f9aa9 100644 (file)
@@ -192,6 +192,6 @@ function comet3d(varargin)
         drawnow()
     endfunction
     //not to generate an error message if the window is closed
-    exec(anim,-1,"errcatch")
+    exec(anim, "errcatch", -1)
     //exec(anim,-1)
 endfunction