X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fshow.c;h=f536af7cfb02da047558b7993a9966a04de96530;hp=dc6d24e625b3ce64c7ec5c5d84d0b4b751ab3da8;hb=c20b4fa14515c7ab388ce35411d89a7a92300711;hpb=8529829823bebf483ab22fe8d24c96394647a298 diff --git a/uip/show.c b/uip/show.c index dc6d24e..f536af7 100644 --- a/uip/show.c +++ b/uip/show.c @@ -338,7 +338,7 @@ go_to_it: ; && chdir(maildir = concat(m_maildir(""), "/", NULL)) != NOTOK) { mp->foldpath = concat(mp->foldpath, "/", NULL); - cp = ssequal(maildir, mp->foldpath) + cp = isprefix(maildir, mp->foldpath) ? mp->foldpath + strlen(maildir) : mp->foldpath; for (msgnum = procp; msgnum < vecp; msgnum++)