<<< Date Index >>>     <<< Thread Index >>>

Re: [BUG] File attachment menu isn't attaching files with tag + q (only with t + enter)



Hello Tamo,

> and this checks only fname[0], which is f[0] in browser.c.

correct. I attached a patch that works just perfect for me.

        Thomas
diff -Nru a/browser.c b/browser.c
--- a/browser.c 2004-07-24 12:27:25 +02:00
+++ b/browser.c 2004-08-24 11:13:40 +02:00
@@ -796,6 +796,8 @@
 
          if (menu->tagged)
          {
+           /* XXX: make mutt_compose_menu recoginze that there are tagged 
files */
+           f[0] = 1;
            *numfiles = menu->tagged;
            tfiles = safe_calloc (*numfiles, sizeof (char *));
            for (i = 0, j = 0; i < state.entrylen; i++)