app: add missing NULL check in action_search_match_keyword()

This commit is contained in:
Ell 2016-05-16 12:19:52 +00:00
parent 8d9df886e2
commit e897abd1bf
1 changed files with 1 additions and 1 deletions

View File

@ -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;