Fix warning..
This commit is contained in:
parent
22b5affbe6
commit
d3b4771103
|
@ -404,7 +404,7 @@ chanlist_search_pressed (GtkButton * button, server *serv)
|
||||||
static void
|
static void
|
||||||
chanlist_find_cb (GtkWidget * wid, server *serv)
|
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. */
|
/* recompile the regular expression. */
|
||||||
if (serv->gui->have_regex)
|
if (serv->gui->have_regex)
|
||||||
|
|
Loading…
Reference in New Issue