# HG changeset patch # User Steffen Groot # Date 1235161427 18000 # Node ID b86b42f77899b4131713ec747fbd826bcf24d833 # Parent 9dddbad47122afb781ed30c14c88168aa63a0856 __patch__.m: fix indexing of varargin diff -r 9dddbad47122 -r b86b42f77899 doc/interpreter/contributors.in --- a/doc/interpreter/contributors.in Fri Feb 20 14:59:29 2009 -0500 +++ b/doc/interpreter/contributors.in Fri Feb 20 15:23:47 2009 -0500 @@ -59,6 +59,7 @@ Tomislav Goles Keith Goodman Brian Gough +Steffen Groot Etienne Grossmann Peter Gustafson Kai Habel diff -r 9dddbad47122 -r b86b42f77899 scripts/ChangeLog --- a/scripts/ChangeLog Fri Feb 20 14:59:29 2009 -0500 +++ b/scripts/ChangeLog Fri Feb 20 15:23:47 2009 -0500 @@ -1,3 +1,7 @@ +2009-02-20 Steffen Groot + + * plot/__patch__.m: Correct indexing of varargin. + 2009-02-20 Jaroslav Hajek * linear-algebra/dmult.m: Remove. diff -r 9dddbad47122 -r b86b42f77899 scripts/plot/__patch__.m --- a/scripts/plot/__patch__.m Fri Feb 20 14:59:29 2009 -0500 +++ b/scripts/plot/__patch__.m Fri Feb 20 15:23:47 2009 -0500 @@ -69,7 +69,7 @@ vert = varargin{4}; have_faces = true; endif - elseif (strcmpi (varargin{3}, "vertices")) + elseif (strcmpi (varargin{1}, "vertices")) vert = varargin{2}; if (strcmpi (varargin{3}, "faces")) faces = varargin{4};