- fixed some spelling errors (thanks to Andrew Dyer)

git-svn-id: svn://svn.berlios.de/openocd/trunk@67 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
drath
2006-06-05 14:36:39 +00:00
parent 8b4e882a16
commit 335f667d44
4 changed files with 11 additions and 11 deletions
+3 -3
View File
@@ -33,7 +33,7 @@
int handle_sleep_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc);
int build_unique_lenghts(command_context_t *context, command_t *commands)
int build_unique_lengths(command_context_t *context, command_t *commands)
{
command_t *c, *p;
@@ -64,7 +64,7 @@ int build_unique_lenghts(command_context_t *context, command_t *commands)
/* if the current command has children, build the unique lengths for them */
if (c->children)
build_unique_lenghts(context, c->children);
build_unique_lengths(context, c->children);
}
return ERROR_OK;
@@ -122,7 +122,7 @@ command_t* register_command(command_context_t *context, command_t *parent, char
}
/* update unique lengths */
build_unique_lenghts(context, (parent) ? parent : context->commands);
build_unique_lengths(context, (parent) ? parent : context->commands);
return c;
}