Mercurial > hg > octave-nkf
diff src/strfns.cc @ 5280:25c12c80ccc3
[project @ 2005-04-14 19:19:45 by jwe]
author | jwe |
---|---|
date | Thu, 14 Apr 2005 19:19:46 +0000 |
parents | f0939599fb7f |
children | f3266e7dbb99 |
line wrap: on
line diff
--- a/src/strfns.cc +++ b/src/strfns.cc @@ -68,7 +68,7 @@ int nargin = args.length (); if (nargin == 1) - retval = args(0).convert_to_str (true, true); + retval = args(0).convert_to_str (true, true, '\''); else if (nargin > 1) { int n_elts = 0; @@ -115,7 +115,7 @@ } } - retval = result; + retval = octave_value (result, '\''); } else print_usage ("char");