X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhtest.c;h=7dc9c07d91d3da6319e7a44ac5f4aa2fab5872a1;hb=33b33a0ac8a3f8f05c9bb0195c100306c00cce35;hp=df5985fac4ab45682f0d285cbf849928043acbd2;hpb=d39e2c447b0d163a5a63f480b23d06edb7a73aa0;p=mmh diff --git a/uip/mhtest.c b/uip/mhtest.c index df5985f..7dc9c07 100644 --- a/uip/mhtest.c +++ b/uip/mhtest.c @@ -12,7 +12,6 @@ #include #include #include -#include #include #include #include @@ -279,7 +278,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 +352,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 */