X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhtest.c;h=0cfce9f873f2a90f286c4c25b60be1e6fe373381;hb=70b2643e0da8485174480c644ad9785c84f5bff4;hp=df5985fac4ab45682f0d285cbf849928043acbd2;hpb=d39e2c447b0d163a5a63f480b23d06edb7a73aa0;p=mmh diff --git a/uip/mhtest.c b/uip/mhtest.c index df5985f..0cfce9f 100644 --- a/uip/mhtest.c +++ b/uip/mhtest.c @@ -279,7 +279,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); @@ -353,7 +353,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 */