# HG changeset patch # User Ben Abbott # Date 1290043030 18000 # Node ID 79b77d71d01e6936ee7c2dbc2bf70abf55f7fe83 # Parent c78247b664fc7f11422b0e0104377e843c8fce9f subsindex.m: Fix typo in doc-string. diff -r c78247b664fc -r 79b77d71d01e scripts/ChangeLog --- a/scripts/ChangeLog Wed Nov 17 14:38:17 2010 -0500 +++ b/scripts/ChangeLog Wed Nov 17 20:17:10 2010 -0500 @@ -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 -r c78247b664fc -r 79b77d71d01e scripts/general/subsindex.m --- a/scripts/general/subsindex.m Wed Nov 17 14:38:17 2010 -0500 +++ b/scripts/general/subsindex.m Wed Nov 17 20:17:10 2010 -0500 @@ -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 +