X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhlist.c;h=8902f7595f206e493c813b0cb08bd6e9da643e3a;hb=2d48b455c303a807041c35e4248955f8bec59eeb;hp=b87e522132d550cd9499c391ce6294aa53ed5834;hpb=d39e2c447b0d163a5a63f480b23d06edb7a73aa0;p=mmh diff --git a/uip/mhlist.c b/uip/mhlist.c index b87e522..8902f75 100644 --- a/uip/mhlist.c +++ b/uip/mhlist.c @@ -12,7 +12,6 @@ #include #include #include -#include #include #include #include @@ -287,7 +286,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); @@ -361,7 +360,7 @@ do_cache: /* If reading from a folder, do some updating */ if (mp) { - context_replace(pfolder, folder); /* update current folder */ + context_replace(curfolder, folder); /* update current folder */ seq_setcur(mp, mp->hghsel); /* update current message */ seq_save(mp); /* synchronize sequences */ context_save(); /* save the context file */