diff options
-rw-r--r-- | mail/message-list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/message-list.c b/mail/message-list.c index 24f46887aa..5972447cb0 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -4366,7 +4366,7 @@ regen_list_done (struct _regen_list_msg *m) if (GTK_WIDGET_VISIBLE (GTK_WIDGET (m->ml))) { if (message_list_length (m->ml) <= 0) { /* space is used to indicate no search too */ - if (m->ml->search && strcmp (m->ml->search, " ") != 0) + if (m->ml->search && *m->ml->search && strcmp (m->ml->search, " ") != 0) e_tree_set_info_message (m->ml->tree, _("No message satisfies your search criteria. Either clear search with Search->Clear menu item or change it.")); else if (m->ml->hidden) e_tree_set_info_message (m->ml->tree, _("There are only hidden messages in this folder. Use View->Show Hidden Messages to show them.")); |