projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
many simplifications, cosmetics.
[apps/madmutt.git]
/
browser.c
diff --git
a/browser.c
b/browser.c
index
6e24df9
..
25bd7f0
100644
(file)
--- a/
browser.c
+++ b/
browser.c
@@
-370,11
+370,11
@@
newsgroup_format_str(char *dest, ssize_t destlen, char op,
snprintf (dest, destlen, tmp, Context->new);
}
else if (option (OPTMARKOLD) &&
snprintf (dest, destlen, tmp, Context->new);
}
else if (option (OPTMARKOLD) &&
- folder->ff->nd->lastCached >= folder->ff->nd->first
Message
&&
- folder->ff->nd->lastCached <= folder->ff->nd->last
Message
) {
+ folder->ff->nd->lastCached >= folder->ff->nd->first &&
+ folder->ff->nd->lastCached <= folder->ff->nd->last) {
snprintf (tmp, sizeof (tmp), "%%%sd", fmt);
snprintf (dest, destlen, tmp,
snprintf (tmp, sizeof (tmp), "%%%sd", fmt);
snprintf (dest, destlen, tmp,
- folder->ff->nd->last
Message
- folder->ff->nd->lastCached);
+ folder->ff->nd->last - folder->ff->nd->lastCached);
}
else {
snprintf (tmp, sizeof (tmp), "%%%sd", fmt);
}
else {
snprintf (tmp, sizeof (tmp), "%%%sd", fmt);