Commit e897abd1 authored by Ell's avatar Ell

app: add missing NULL check in action_search_match_keyword()

parent 8d9df886
......@@ -268,7 +268,7 @@ one_matched:
}
}
if (! matched && g_utf8_strlen (key_tokens[0], -1) > 2 &&
if (! matched && key_tokens[0] && g_utf8_strlen (key_tokens[0], -1) > 2 &&
gtk_action_get_tooltip (action) != NULL)
{
gchar **tooltip_tokens;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment