diff scripts/plot/print.m @ 5659:960f4b9a26af

[project @ 2006-03-10 15:35:20 by jwe]
author jwe
date Fri, 10 Mar 2006 15:35:21 +0000
parents f88f2e35ad6e
children dec8dd15a574
line wrap: on
line diff
--- a/scripts/plot/print.m	Fri Mar 10 03:57:23 2006 +0000
+++ b/scripts/plot/print.m	Fri Mar 10 15:35:21 2006 +0000
@@ -342,7 +342,7 @@
 
   if (! isempty (convertname))
     command = sprintf ("convert '%s' '%s'", name, convertname);
-    [output, errcode] = system (command);
+    [errcode, output] = system (command);
     unlink (name);
     if (errcode)
       error ("print: could not convert");