From: Ken Hornstein Date: Wed, 9 Apr 2014 20:25:08 +0000 (-0400) Subject: Merge branch 'mhshow-fixup' X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/b43e55a89e0fd66e1bf968fed25feacfbd045514?hp=e6ddebc23e12a646efed6ef7f1e785497beb0bc2 Merge branch 'mhshow-fixup' --- diff --git a/uip/mhn.c b/uip/mhn.c index a2733ad2..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 */ @@ -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; }