Add a bit more breathing space to alloc
[sxemacs] / src / dired.c
index 2fa35d9..e957a22 100644 (file)
@@ -361,7 +361,7 @@ dfr_inner(dirent_t *res,
        }
 
 #if USE_MATCH_ARG
-       if (!NILP(match) && !pathname_matches_p(name, match, bufp)) {
+       if (!NILP(match) && bufp && !pathname_matches_p(name, match, bufp)) {
                result_p = 0;
        }
 #endif