summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mate-panel/panel-run-dialog.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mate-panel/panel-run-dialog.c b/mate-panel/panel-run-dialog.c
index a033fe1f..e426cd56 100644
--- a/mate-panel/panel-run-dialog.c
+++ b/mate-panel/panel-run-dialog.c
@@ -1317,8 +1317,7 @@ fill_files_from (const char *dirname,
char *item;
const char *suffix;
- if (!dent->d_name ||
- dent->d_name [0] != prefix)
+ if (dent->d_name [0] != prefix)
continue;
file = g_build_filename (dirname, dent->d_name, NULL);