Fix some typos.
authorDaniel Carl <danielcarl@gmx.de>
Thu, 27 Apr 2017 20:16:04 +0000 (22:16 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Thu, 27 Apr 2017 20:24:38 +0000 (22:24 +0200)
src/completion.c
src/ex.c

index 8bda61f..22fced6 100644 (file)
@@ -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;
index 6a64191..11fd7b6 100644 (file)
--- 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;