diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 2001-01-18 11:27:56 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 2001-01-18 11:27:56 +0000 |
commit | 7ad7c148578da283a6057f466ea609ab8c5231b3 (patch) | |
tree | 7456b3af0b829aa486cd95b99335e5d65aef6eaa | |
parent | 72a93d83e419cd5b16c96c0ea1835a3588971153 (diff) |
Completion fix. From Aaron Schrab <aaron+mutt@schrab.com>.
-rw-r--r-- | complete.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -87,7 +87,7 @@ int mutt_complete (char *s, size_t slen) *p++ = 0; snprintf (buf, sizeof (buf), "%s/%s", exp_dirpart, s+1); strfcpy (exp_dirpart, buf, sizeof (exp_dirpart)); - snprintf (buf, sizeof (buf), "%s/%s", dirpart, s+1); + snprintf (buf, sizeof (buf), "%s%s/", dirpart, s+1); strfcpy (dirpart, buf, sizeof (dirpart)); strfcpy (filepart, p, sizeof (filepart)); } |