diff --git a/src/wofi.c b/src/wofi.c index 7ef2863..b9be0a1 100644 --- a/src/wofi.c +++ b/src/wofi.c @@ -451,6 +451,9 @@ static gboolean do_filter(GtkListBoxRow* row, gpointer data) { if(filter == NULL || strcmp(filter, "") == 0) { return TRUE; } + if(text == NULL) { + return FALSE; + } if(strcasestr(text, filter) != NULL) { return TRUE; }