diff options
author | portix <portix@gmx.net> | 2011-09-02 15:49:09 +0200 |
---|---|---|
committer | portix <portix@gmx.net> | 2011-09-02 15:49:09 +0200 |
commit | 8f4a57d7d10aaf52b48d717a3bd272474847863b (patch) | |
tree | 19c5873cafcd41cc220bd8bf71b24f021769ae30 /src/completion.c | |
parent | fa7f2b3198e15e88721da46cff1f9b00ac35685c (diff) | |
download | dwb-8f4a57d7d10aaf52b48d717a3bd272474847863b.zip |
Case insensitive completion
Diffstat (limited to 'src/completion.c')
-rw-r--r-- | src/completion.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/completion.c b/src/completion.c index fae4ac9e..a07d1010 100644 --- a/src/completion.c +++ b/src/completion.c @@ -72,7 +72,7 @@ static GList * dwb_comp_init_completion(GList *store, GList *gl, gboolean word_beginnings, void *data, const char *value) { Navigation *n; const char *input = GET_TEXT(); - Match_Func func = word_beginnings ? (Match_Func)g_str_has_prefix : (Match_Func)g_strrstr; + Match_Func func = word_beginnings ? (Match_Func)g_str_has_prefix : (Match_Func)dwb_util_strcasestr; // TODO groupline #if 0 GtkWidget *ev = gtk_event_box_new(); |