From fd175c96d81efda55b34b13d59904bcd35c99ff0 Mon Sep 17 00:00:00 2001 From: David Levine Date: Fri, 22 Mar 2013 08:33:40 -0500 Subject: [PATCH] Always update sequences and context in mhfixmsg, not just when there is a rmmproc. --- uip/mhfixmsg.c | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/uip/mhfixmsg.c b/uip/mhfixmsg.c index 5db537d3..8abb96de 100644 --- a/uip/mhfixmsg.c +++ b/uip/mhfixmsg.c @@ -353,19 +353,10 @@ main (int argc, char **argv) { } } - /* - * This is a hack. If we are using an external rmmproc, - * then save the current folder to the context file, - * so the external rmmproc will remove files from the correct - * directory. This should be moved to folder_delmsgs(). - */ - if (rmmproc) { - context_replace (pfolder, folder);/* update current folder */ - seq_setcur (mp, mp->hghsel); /* update current message */ - seq_save (mp); /* synchronize sequences */ - context_save (); /* save the context file */ - fflush (stdout); - } + seq_setcur (mp, mp->hghsel); /* update current message */ + seq_save (mp); /* synchronize sequences */ + context_replace (pfolder, folder);/* update current folder */ + context_save (); /* save the context file */ } if (*cts) { -- 2.56.0