Mercurial > emacs
changeset 39882:bee6bc3785cb
(file_name_completion): Fix last change.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 13 Oct 2001 12:21:36 +0000 |
parents | 9c1b9334eb73 |
children | 416c492df7c3 |
files | src/dired.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dired.c Sat Oct 13 12:15:35 2001 +0000 +++ b/src/dired.c Sat Oct 13 12:21:36 2001 +0000 @@ -570,7 +570,7 @@ if (!STRINGP (elt)) continue; elt_len = XSTRING (elt)->size - 1; /* -1 for trailing / */ - if (elt_len == 0) + if (elt_len <= 0) continue; p1 = XSTRING (elt)->data; if (p1[elt_len] != '/')