aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/fs/search.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/fs/search.c')
-rw-r--r--src/plugins/fs/search.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/fs/search.c b/src/plugins/fs/search.c
index beb6efdc..f70f6630 100644
--- a/src/plugins/fs/search.c
+++ b/src/plugins/fs/search.c
@@ -479,7 +479,8 @@ void on_fssearchbutton_clicked_fs(gpointer dummy2,
479 479
480 searchString = getEntryLineValue(getMainXML(), 480 searchString = getEntryLineValue(getMainXML(),
481 "fssearchKeywordComboBoxEntry"); 481 "fssearchKeywordComboBoxEntry");
482 if (searchString == NULL) { 482 if ( (searchString == NULL) ||
483 (strlen(searchString) == 0) ) {
483 GE_LOG(ectx, 484 GE_LOG(ectx,
484 GE_ERROR | GE_USER | GE_IMMEDIATE, 485 GE_ERROR | GE_USER | GE_IMMEDIATE,
485 _("Need a keyword to search!\n")); 486 _("Need a keyword to search!\n"));