From: Daniel Carl Date: Sat, 29 Jun 2013 15:32:25 +0000 (+0200) Subject: Renamed update into move_cursor. X-Git-Url: https://git.owens.tech/projects.html/projects.html/git?a=commitdiff_plain;h=2660884d197248285ce9135597ba2c4fd3622911;p=vimb.git Renamed update into move_cursor. --- diff --git a/src/completion.c b/src/completion.c index fa02459..e109817 100644 --- a/src/completion.c +++ b/src/completion.c @@ -41,7 +41,7 @@ static struct { static gboolean init_completion(GList *source); static void show(void); -static void update(gboolean back); +static void move_cursor(gboolean back); static gboolean tree_selection_func(GtkTreeSelection *selection, GtkTreeModel *model, GtkTreePath *path, gboolean selected, gpointer data); @@ -58,7 +58,7 @@ gboolean completion_complete(gboolean back) if (vb.state.mode & VB_MODE_COMPLETE) { if (comp.text && !strcmp(input, comp.text)) { /* step through the next/prev completion item */ - update(back); + move_cursor(back); return true; } /* if current input isn't the content of the completion item, stop @@ -219,7 +219,7 @@ static void show(void) gtk_tree_path_free(path); } -static void update(gboolean back) +static void move_cursor(gboolean back) { int rows; GtkTreePath *path;