Mercurial > hg > octave-nkf
diff scripts/strings/blanks.m @ 4457:d7d9ca19960a
[project @ 2003-07-11 03:05:38 by jwe]
author | jwe |
---|---|
date | Fri, 11 Jul 2003 03:05:39 +0000 |
parents | 22bd65326ec1 |
children | 4c8a2e4e0717 |
line wrap: on
line diff
--- a/scripts/strings/blanks.m +++ b/scripts/strings/blanks.m @@ -31,7 +31,7 @@ usage ("blanks (n)"); endif - if (isscalar (n) && n == round (n) && (treat_neg_dim_as_zero || n >= 0)) + if (isscalar (n) && n == round (n)) s = setstr (ones (1, n) * toascii (" ")); else error ("blanks: n must be a non-negative integer");