diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-01-23 07:41:37 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-01-23 07:41:37 +0000 |
commit | 3fb0d2bc04625ce5f2b6e151a877f82749955063 (patch) | |
tree | 40decb9f7823444e243083f69a601fe66e908480 /enter.c | |
parent | 717806b1d73af72c334366d908e8f508284ccea2 (diff) |
Fix the attach-multi patch.
Diffstat (limited to 'enter.c')
-rw-r--r-- | enter.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -453,6 +453,15 @@ self_insert: buf[lastchar] = 0; if (!pass) mutt_history_add (hclass, (char *) buf); + if (multiple) + { + char **tfiles; + *numfiles = 1; + tfiles = safe_malloc (*numfiles * sizeof (char *)); + mutt_expand_path ((char *) buf, buflen); + tfiles[0] = safe_strdup ((char *) buf); + *files = tfiles; + } return (0); } else if ((ch < ' ' || IsPrint (ch)) && (lastchar + 1 < buflen)) |