From e668bf8dc389ade5bb1158a9626370135973f272 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sun, 9 Mar 2008 16:29:42 +0100 Subject: [PATCH] [awesome-menu] Fix problem with filling via stdin was overwritten --- awesome-menu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/awesome-menu.c b/awesome-menu.c index e8bb0db7a..7152aa756 100644 --- a/awesome-menu.c +++ b/awesome-menu.c @@ -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; }