From 335f667d4433e8ca3a57e813fd128b78d8b364d2 Mon Sep 17 00:00:00 2001 From: drath Date: Mon, 5 Jun 2006 14:36:39 +0000 Subject: - fixed some spelling errors (thanks to Andrew Dyer) git-svn-id: svn://svn.berlios.de/openocd/trunk@67 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/helper/command.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/helper') diff --git a/src/helper/command.c b/src/helper/command.c index 26eada62..00d4b356 100644 --- a/src/helper/command.c +++ b/src/helper/command.c @@ -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; } -- cgit v1.2.3