diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 2000-12-14 13:29:04 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 2000-12-14 13:29:04 +0000 |
commit | ee1e188823a1f87832201a0db87420d0c0026c19 (patch) | |
tree | 317e153ad4ec32471a451798f2eb6e9c1cb01af5 /enter.c | |
parent | 261b5e1df52f873f2807e8617f1b540290cb3ec2 (diff) |
More file name completion fixes.
Diffstat (limited to 'enter.c')
-rw-r--r-- | enter.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -469,7 +469,7 @@ int _mutt_enter_string (char *buf, size_t buflen, int y, int x, my_wcstombs (buf, buflen, state->wbuf, state->curpos); /* see if the path has changed from the last time */ - if (!tempbuf || (templen == state->lastchar && + if ((!tempbuf && !state->lastchar) || (tempbuf && templen == state->lastchar && !memcmp (tempbuf, state->wbuf, state->lastchar * sizeof (wchar_t)))) { _mutt_select_file (buf, buflen, 0, multiple, files, numfiles); |