summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Carl <danielcarl@gmx.de>2017-04-27 22:16:04 +0200
committerDaniel Carl <danielcarl@gmx.de>2017-04-27 22:24:38 +0200
commit9a48524c7e068ed3952206174fa5a2e8093ada6f (patch)
tree72161b15fcb894b35577fff3f049997a89d26dca /src
parentee218313a2d3f1c41f30102ba5498471b32925c0 (diff)
Fix some typos.
Diffstat (limited to 'src')
-rw-r--r--src/completion.c4
-rw-r--r--src/ex.c4
2 files changed, 4 insertions, 4 deletions
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;