# HG changeset patch # User Ben Abbott # Date 1290043030 18000 # Node ID 79b77d71d01e6936ee7c2dbc2bf70abf55f7fe83 # Parent c78247b664fc7f11422b0e0104377e843c8fce9f subsindex.m: Fix typo in doc-string. diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2010-11-17 Ben Abbott + + * general/subsindex.m: Fix typo in doc-string. + 2010-11-17 John W. Eaton * strings/strchr.m: Style fixes. diff --git a/scripts/general/subsindex.m b/scripts/general/subsindex.m --- a/scripts/general/subsindex.m +++ b/scripts/general/subsindex.m @@ -28,7 +28,7 @@ ## @example ## @group ## function b = myclass (a) -## b = myclass (struct ("a", a), "myclass"); +## b = class (struct ("a", a), "myclass"); ## endfunction ## @end group ## @end example @@ -62,3 +62,4 @@ function idx = subsindex (a) error ("subsindex: not defined for class \"%s\"", class(a)); endfunction +