diff options
Diffstat (limited to 'src/fe-gtk')
-rw-r--r-- | src/fe-gtk/chanlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-gtk/chanlist.c b/src/fe-gtk/chanlist.c index 869187e1..f3a2259d 100644 --- a/src/fe-gtk/chanlist.c +++ b/src/fe-gtk/chanlist.c @@ -404,7 +404,7 @@ chanlist_search_pressed (GtkButton * button, server *serv) static void chanlist_find_cb (GtkWidget * wid, server *serv) { - char *pattern = gtk_entry_get_text (GTK_ENTRY (wid)); + const char *pattern = gtk_entry_get_text (GTK_ENTRY (wid)); /* recompile the regular expression. */ if (serv->gui->have_regex) |