diff src/oct-hist.cc @ 2095:36903d507b0e

[project @ 1996-04-28 09:00:07 by jwe]
author jwe
date Sun, 28 Apr 1996 09:00:07 +0000
parents bfb775fb6fe8
children bd389b53befa
line wrap: on
line diff
--- a/src/oct-hist.cc	Sun Apr 28 09:00:07 1996 +0000
+++ b/src/oct-hist.cc	Sun Apr 28 09:00:07 1996 +0000
@@ -38,7 +38,6 @@
 #include <string>
 
 #include <fstream.h>
-#include <strstream.h>
 
 #ifdef HAVE_UNISTD_H
 #include <sys/types.h>
@@ -196,17 +195,8 @@
 
   int len = hlist.length ();
 
-  if (len > 0)
-    {
-      ostrstream output_buf;
-
-      for (i = 0; i < len; i++)
-	output_buf << hlist[i] << "\n";
-
-      output_buf << ends;
-
-      maybe_page_output (output_buf);
-    }
+  for (i = 0; i < len; i++)
+    octave_stdout << hlist[i] << "\n";
 }
 
 // Read the edited history lines from STREAM and return them