diff src/oct-stream.cc @ 9689:34d6f005db4b

eliminate is_string argument from octave_value character array constructors
author John W. Eaton <jwe@octave.org>
date Mon, 05 Oct 2009 00:11:07 -0400
parents e793865ede63
children 531280b07625
line wrap: on
line diff
--- a/src/oct-stream.cc	Sun Oct 04 01:04:29 2009 -0400
+++ b/src/oct-stream.cc	Mon Oct 05 00:11:07 2009 -0400
@@ -3368,7 +3368,7 @@
 		      && (output_type == oct_data_conv::dt_char
 			  || output_type == oct_data_conv::dt_schar
 			  || output_type == oct_data_conv::dt_uchar))
-		    retval = octave_value (retval.char_matrix_value (), true);
+		    retval = retval.char_matrix_value ();
 		}
 	      else
 		error ("fread: unable to read and convert requested types");