Mercurial > hg > octave-nkf
diff scripts/plot/__errcomm__.m @ 4772:9eed17b2c8d1
[project @ 2004-02-16 17:57:34 by jwe]
author | jwe |
---|---|
date | Mon, 16 Feb 2004 17:57:34 +0000 |
parents | 7fa16e369904 |
children | 89eee52fd4c7 |
line wrap: on
line diff
--- a/scripts/plot/__errcomm__.m +++ b/scripts/plot/__errcomm__.m @@ -45,7 +45,7 @@ endif hold on; k = 1; - while (nargs) + while (nargs-- > 0) a = varargin{k++}; nargs--; if (isvector (a)) @@ -58,7 +58,7 @@ sz = size (a); ndata = 1; arg1 = a; - while (nargs--) + while (nargs-- > 0) a = varargin{k++}; if (isstr (a)) fmt = a;