[awesome-menu] Fix problem with filling via stdin was overwritten

This commit is contained in:
Julien Danjou 2008-03-09 16:29:42 +01:00
parent e6b3aa92f5
commit e668bf8dc3
1 changed files with 2 additions and 1 deletions

View File

@ -324,7 +324,8 @@ compute_match(const char *word)
}
else
{
item_list_fill_file(NULL);
if(a_strlen(globalconf.text))
item_list_fill_file(NULL);
for(item = globalconf.items; item; item = item->next)
item->match = True;
}