X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhlist.c;h=12480cf745d43a73a978a962267b053269bb48fb;hp=b87e522132d550cd9499c391ce6294aa53ed5834;hb=3cc8ed080f6e741b8df04a3ebe764c659e75cb38;hpb=d39e2c447b0d163a5a63f480b23d06edb7a73aa0 diff --git a/uip/mhlist.c b/uip/mhlist.c index b87e522..12480cf 100644 --- a/uip/mhlist.c +++ b/uip/mhlist.c @@ -287,7 +287,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 +361,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 */