Mercurial > hg > octave-lyh
diff scripts/deprecated/spprod.m @ 7704:1cdb42b372e8
don't embed newline in warning messages in deprecated functions
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 09 Apr 2008 12:56:48 -0400 |
parents | 8e5371d47da6 |
children | 8dee145c777d |
line wrap: on
line diff
--- a/scripts/deprecated/spprod.m +++ b/scripts/deprecated/spprod.m @@ -28,8 +28,7 @@ if (! warned) warned = true; warning ("Octave:deprecated-function", - ["spprod is obsolete and will be removed from a future\n", - "version of Octave, please use prod instead"]); + "spprod is obsolete and will be removed from a future version of Octave; please use prod instead"); endif retval = prod (varargin{:});