summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2001-01-18 11:27:56 +0000
committerThomas Roessler <roessler@does-not-exist.org>2001-01-18 11:27:56 +0000
commit7ad7c148578da283a6057f466ea609ab8c5231b3 (patch)
tree7456b3af0b829aa486cd95b99335e5d65aef6eaa
parent72a93d83e419cd5b16c96c0ea1835a3588971153 (diff)
Completion fix. From Aaron Schrab <aaron+mutt@schrab.com>.
-rw-r--r--complete.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/complete.c b/complete.c
index 86f41e27..04be8d8b 100644
--- a/complete.c
+++ b/complete.c
@@ -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));
}