changeset 10417:ad29dbbc3f70

save: make that two newline characters
author John W. Eaton <jwe@octave.org>
date Tue, 16 Mar 2010 17:03:55 -0400
parents f06ede00fd8f
children 6c19d6fcd7e5
files src/ls-oct-ascii.cc
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/ls-oct-ascii.cc	Tue Mar 16 15:04:40 2010 -0400
+++ b/src/ls-oct-ascii.cc	Tue Mar 16 17:03:55 2010 -0400
@@ -333,11 +333,11 @@
 
   success = val.save_ascii (os);
 
-  // Insert an extra newline after data set so that multiple data
-  // elements may be handled separately by gnuplot (see the description
-  // of the index qualifier for the plot command in the gnuplot
-  // documentation).
-  os << "\n";
+  // Insert an extra pair of newline characters after the data so that
+  // multiple data elements may be handled separately by gnuplot (see
+  // the description of the index qualifier for the plot command in the
+  // gnuplot documentation).
+  os << "\n\n";
 
   os.precision (old_precision);