X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/22de44b40389f3c6ec7f5d811eb8349cc9d499bf..ca5ae3e652ed0fb43efaabd697162fd1c28d09ba:/uip/mhn.c diff --git a/uip/mhn.c b/uip/mhn.c index 8a4ab318..7363688f 100644 --- a/uip/mhn.c +++ b/uip/mhn.c @@ -542,6 +542,14 @@ do_cache: mhstoreinfo_free (info); } + /* If reading from a folder, do some updating */ + if (mp) { + 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 */ + } + /* * Cache the message content */ @@ -552,7 +560,7 @@ do_cache: * Show the message content */ if (showsw) - show_all_messages (cts, 0, 0, 0); + show_all_messages (cts, 0, 0, 0, NULL); /* Now free all the structures for the content */ for (ctp = cts; *ctp; ctp++) @@ -561,14 +569,6 @@ do_cache: free (cts); cts = NULL; - /* If reading from a folder, do some updating */ - if (mp) { - 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 */ - } - done (0); return 1; }