Renamed all standard sequences (e.g. cur->c) and made them globally changeable
[mmh] / uip / mhshow.c
index 07a05a9..5d5ac3e 100644 (file)
@@ -358,7 +358,7 @@ do_cache:
                ** message(s) are coming from a folder
                */
                if (!msgs.size)
-                       app_msgarg(&msgs, "cur");
+                       app_msgarg(&msgs, seq_cur);
                if (!folder)
                        folder = getcurfol();
                maildir = toabsdir(folder);
@@ -389,7 +389,7 @@ do_cache:
                                set_unseen(mp, msgnum);
 
                seq_setprev(mp);  /* set the Previous-Sequence */
-               seq_setunseen(mp, 1);  /* unset the Unseen-Sequence */
+               seq_setunseen(mp, 0);  /* unset unseen seqs for shown msgs */
 
                if (!(cts = (CT *) calloc((size_t) (mp->numsel + 1),
                                sizeof(*cts))))