From: Daniel Carl Date: Thu, 27 Apr 2017 20:16:04 +0000 (+0200) Subject: Fix some typos. X-Git-Url: https://git.owens.tech///git?a=commitdiff_plain;h=9a48524c7e068ed3952206174fa5a2e8093ada6f;p=vimb.git Fix some typos. --- diff --git a/src/completion.c b/src/completion.c index 8bda61f..22fced6 100644 --- a/src/completion.c +++ b/src/completion.c @@ -205,8 +205,8 @@ gboolean completion_next(Client *c, gboolean back) comp->active--; /* Step back over the beginning. */ if (comp->active == -1) { - /* Unselect the current item to show the user that the shown - * content is the initial typed content. */ + /* Deselect the current item to show the user the initial typed + * content. */ gtk_tree_selection_unselect_all(gtk_tree_view_get_selection(GTK_TREE_VIEW(comp->tree))); return FALSE; diff --git a/src/ex.c b/src/ex.c index 6a64191..11fd7b6 100644 --- a/src/ex.c +++ b/src/ex.c @@ -1087,7 +1087,7 @@ static VbCmdResult ex_source(Client *c, const ExArg *arg) /** * Manage the generation and stepping through completions. * This function prepared some prefix and suffix string that are required to - * put hte matched data back to inputbox, and prepares the tree list store + * put the matched data back to inputbox, and prepares the tree list store * model containing matched values. */ static gboolean complete(Client *c, short direction) @@ -1142,7 +1142,7 @@ static gboolean complete(Client *c, short direction) * if the command name parsing fails. */ before_cmdname = in; - /* Do ex command specific completion if the comman is recognized and + /* Do ex command specific completion if the command is recognized and * there is a space after the command and the optional '!' bang. */ if (parse_command_name(c, &in, arg) && parse_bang(&in, arg) && VB_IS_SPACE(*in)) { const char *token;