Renamed ssequal() to isprefix(), because that's what it checks.
[mmh] / uip / show.c
index dc6d24e..f536af7 100644 (file)
@@ -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++)