Commit 3fb0d2bc authored by Thomas Roessler's avatar Thomas Roessler

Fix the attach-multi patch.

parent 717806b1
......@@ -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))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment