Mercurial > hg > octave-nkf
diff scripts/deprecated/struct_contains.m @ 11745:df16538e1b93 release-3-0-x
don't embed newline in warning messages in deprecated functions (part 2)
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 09 Apr 2008 13:05:10 -0400 |
parents | 72830070a17b |
children |
line wrap: on
line diff
--- a/scripts/deprecated/struct_contains.m +++ b/scripts/deprecated/struct_contains.m @@ -31,8 +31,7 @@ if (! warned) warned = true; warning ("Octave:deprecated-function", - ["struct_contains is obsolete and will be removed from a future\n", - "version of Octave, please use isfield instead"]); + "struct_contains is obsolete and will be removed from a future version of Octave; please use isfield instead"); endif retval = isfield (varargin{:});