summaryrefslogtreecommitdiff
path: root/src/completion.c
diff options
context:
space:
mode:
authorportix <portix@gmx.net>2011-09-02 15:49:09 +0200
committerportix <portix@gmx.net>2011-09-02 15:49:09 +0200
commit8f4a57d7d10aaf52b48d717a3bd272474847863b (patch)
tree19c5873cafcd41cc220bd8bf71b24f021769ae30 /src/completion.c
parentfa7f2b3198e15e88721da46cff1f9b00ac35685c (diff)
downloaddwb-8f4a57d7d10aaf52b48d717a3bd272474847863b.zip
Case insensitive completion
Diffstat (limited to 'src/completion.c')
-rw-r--r--src/completion.c2
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();