Mercurial > hg > octave-nkf
diff libinterp/octave-value/ov-class.cc @ 18477:1e148ecdeedd
maint: Periodic merge of gui-release to default.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 29 Jan 2014 15:28:35 -0500 |
parents | ff311e5ff6d8 a9cec5517d92 |
children | bcd71a2531d3 |
line wrap: on
line diff
--- a/libinterp/octave-value/ov-class.cc +++ b/libinterp/octave-value/ov-class.cc @@ -1251,7 +1251,7 @@ bool b = save_ascii_data (os, val, m.key (i), false, 0); if (! b) - return os; + return ! os.fail (); i++; } @@ -1380,7 +1380,7 @@ bool b = save_binary_data (os, val, m.key (i), "", 0, save_as_floats); if (! b) - return os; + return ! os.fail (); i++; }