# HG changeset patch # User jwe # Date 1076954254 0 # Node ID 9eed17b2c8d13d644dbe25891628b49f2a364ec6 # Parent b8105302cfe8c8ec7874f83fe3cf2ccf010ac73f [project @ 2004-02-16 17:57:34 by jwe] diff -r b8105302cfe8 -r 9eed17b2c8d1 scripts/ChangeLog --- a/scripts/ChangeLog Mon Feb 16 17:45:50 2004 +0000 +++ b/scripts/ChangeLog Mon Feb 16 17:57:34 2004 +0000 @@ -1,3 +1,8 @@ +2004-02-16 John W. Eaton + + * plot/__errcomm__.m: Fix thinko in previous change. + From Teemu Ikonen . + 2004-02-16 A S Hodel * control/base/__bodquist__.m, control/base/__stepimp__.m, diff -r b8105302cfe8 -r 9eed17b2c8d1 scripts/plot/__errcomm__.m --- a/scripts/plot/__errcomm__.m Mon Feb 16 17:45:50 2004 +0000 +++ b/scripts/plot/__errcomm__.m Mon Feb 16 17:57:34 2004 +0000 @@ -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;