]> granicus.if.org Git - mutt/commitdiff
Little fix for the remailer menu.
authorThomas Roessler <roessler@does-not-exist.org>
Thu, 23 Mar 2000 12:21:10 +0000 (12:21 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Thu, 23 Mar 2000 12:21:10 +0000 (12:21 +0000)
remailer.c

index 82fdc90ef66fe2ae30186cb2a3d585011b5f8ca4..fead07137f5b8e63b034b8a6d39995d87017af20 100644 (file)
@@ -583,6 +583,14 @@ void mix_make_chain (LIST **chainp, int *redraw)
 
       case OP_MIX_USE:
       {
+       if (!chain->cl)
+       {
+         chain->cl++;
+         chain->ch[0] = menu->current;
+         mix_screen_coordinates (type2_list, &coords, chain, c_cur);
+         c_redraw = 1;
+       }
+       
        if (chain->cl && chain->ch[chain->cl - 1] && 
            (type2_list[chain->ch[chain->cl-1]]->caps & MIX_CAP_MIDDLEMAN))
        {