X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhstore.c;h=c1a3edbe54489fbd1e3b90dfb5d3fb6e65778a6d;hp=1fbd50e2cc875c17f52beef5007c57c2ca1dc7e2;hb=0b40f7c1c35770622511eda71ec5353784ea1dc6;hpb=d39e2c447b0d163a5a63f480b23d06edb7a73aa0 diff --git a/uip/mhstore.c b/uip/mhstore.c index 1fbd50e..c1a3edb 100644 --- a/uip/mhstore.c +++ b/uip/mhstore.c @@ -12,7 +12,6 @@ #include #include #include -#include #include #include #include @@ -301,7 +300,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); @@ -375,7 +374,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 */