changeset 23344:7dc148266dca

Avoid initial newline in disp() for cell arrays (bug #50683). libinterp/octave-value/ov-cell.cc (octave_cell::print_raw): Do not print initial newline to have a consistent disp with other arrays.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Wed, 05 Apr 2017 10:08:26 +0200
parents 49f051ef6f2f
children 0b6810085ed3
files libinterp/octave-value/ov-cell.cc
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/octave-value/ov-cell.cc	Mon Apr 03 16:21:19 2017 -0400
+++ b/libinterp/octave-value/ov-cell.cc	Wed Apr 05 10:08:26 2017 +0200
@@ -643,7 +643,6 @@
 
       if (nr > 0 && nc > 0)
         {
-          newline (os);
           indent (os);
           os << "{";
           newline (os);