1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-29 19:56:07 -04:00

Merge branch 'master' into plugins

This commit is contained in:
James Booth 2014-05-08 20:51:10 +01:00
commit 82203811e8

View File

@ -152,6 +152,10 @@ autocomplete_complete(Autocomplete ac, gchar *search_str)
{
gchar *found = NULL;
// no autocomplete to search
if (ac == NULL)
return NULL;
// no items to search
if (!ac->items)
return NULL;