projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Renamed ssequal() to isprefix(), because that's what it checks.
[mmh]
/
uip
/
show.c
diff --git
a/uip/show.c
b/uip/show.c
index
dc6d24e
..
f536af7
100644
(file)
--- 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);
&& 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++)
? mp->foldpath + strlen(maildir)
: mp->foldpath;
for (msgnum = procp; msgnum < vecp; msgnum++)