diff src/pr-output.cc @ 2903:facd9d10e5c1

[project @ 1997-04-30 03:53:07 by jwe]
author jwe
date Wed, 30 Apr 1997 03:53:30 +0000 (1997-04-30)
parents 1a30f46e1870
children 8bb31a2b480b
line wrap: on
line diff
--- a/src/pr-output.cc
+++ b/src/pr-output.cc
@@ -1064,7 +1064,6 @@
       os << "[]";
       if (Vprint_empty_dimensions)
 	os << "(" << nr << "x" << nc << ")";
-      os << "\n";
     }
 }
 
@@ -1087,9 +1086,6 @@
 	os << " Columns " << col + 1 << " and " << lim << ":\n";
       else
 	os << " Columns " << col + 1 << " through " << lim << ":\n";
-
-      if (! compact_format)
-	os << "\n";
     }
 }
 
@@ -1111,9 +1107,6 @@
       else
 	pr_float (os, d);
     }
-
-  if (! pr_as_read_syntax)
-    os << "\n";
 }
 
 void
@@ -1263,9 +1256,6 @@
       else
 	pr_complex (os, c);
     }
-
-  if (! pr_as_read_syntax)
-    os << "\n";
 }
 
 void
@@ -1542,7 +1532,7 @@
   int nargin = args.length ();
 
   if (nargin == 1)
-    args(0).print ();
+    args(0).print (octave_stdout);
   else
     print_usage ("disp");