changeset 6575:9ef0450c873d

[project @ 2007-04-25 14:07:20 by jwe]
author jwe
date Wed, 25 Apr 2007 14:07:20 +0000
parents d5d6a670f137
children f14a0d35f90b
files scripts/ChangeLog scripts/plot/legend.m scripts/signal/filter2.m scripts/specfun/nchoosek.m
diffstat 4 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -1,3 +1,7 @@
+2007-04-25  John W. Eaton  <jwe@octave.org>
+
+	* plot/legend.m: Initialize WARNED to false.
+
 2007-04-24  John W. Eaton  <jwe@octave.org>
 
 	* io/beep.m: Fix cut and paste error.
--- a/scripts/plot/legend.m
+++ b/scripts/plot/legend.m
@@ -152,6 +152,7 @@
     endif
   endif
 
+  warned = false;
   for i = 1:nargs
     arg = varargin{i};
     if (ischar (arg))
--- a/scripts/signal/filter2.m
+++ b/scripts/signal/filter2.m
@@ -18,7 +18,7 @@
 ## 02110-1301, USA.
 
 ## -*- texinfo -*-
-## @deftypefn {Function File} {@var{y} =} filter2 (@var{b, @var{x}})
+## @deftypefn {Function File} {@var{y} =} filter2 (@var{b}, @var{x})
 ## @deftypefnx {Function File} {@var{y} =} filter2 (@var{b}, @var{x}, @var{shape})
 ## Apply the 2-D FIR filter @var{b} to @var{x}. If the argument
 ## @var{shape} is specified, return an array of the desired shape.
--- a/scripts/specfun/nchoosek.m
+++ b/scripts/specfun/nchoosek.m
@@ -20,7 +20,7 @@
 ## -*- texinfo -*-
 ## @deftypefn {Function File} {@var{c} =} nchoosek (@var{n}, @var{k})
 ##
-## Compute the binomial coeeficient or all combinations of @var{n}.
+## Compute the binomial coefficient or all combinations of @var{n}.
 ## If @var{n} is a scalar then, calculate the binomial coefficient
 ## of @var{n} and @var{k}, defined as
 ##