projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use m_functions(), you'll be fresh-faced.
[apps/madmutt.git]
/
pager.c
diff --git
a/pager.c
b/pager.c
index
9c2d797
..
982f7f3
100644
(file)
--- a/
pager.c
+++ b/
pager.c
@@
-662,13
+662,8
@@
resolve_types (char *buf, char *rawbuf, struct line_t *lineInfo, int n, int last
}
else if (m_strncmp("\033[0m", rawbuf, 4) == 0) /* a little hack... */
lineInfo[n].type = MT_COLOR_NORMAL;
}
else if (m_strncmp("\033[0m", rawbuf, 4) == 0) /* a little hack... */
lineInfo[n].type = MT_COLOR_NORMAL;
-#if 0
- else if (m_strncmp("[-- ", buf, 4) == 0)
- lineInfo[n].type = MT_COLOR_ATTACHMENT;
-#else
else if (check_attachment_marker ((char *) rawbuf) == 0)
lineInfo[n].type = MT_COLOR_ATTACHMENT;
else if (check_attachment_marker ((char *) rawbuf) == 0)
lineInfo[n].type = MT_COLOR_ATTACHMENT;
-#endif
else if (m_strcmp("-- \n", buf) == 0
|| m_strcmp("-- \r\n", buf) == 0) {
i = n + 1;
else if (m_strcmp("-- \n", buf) == 0
|| m_strcmp("-- \r\n", buf) == 0) {
i = n + 1;
@@
-1870,7
+1865,7
@@
mutt_pager (const char *banner, const char *fname, int flags, pager_t * extra)
M_CLEAR) != 0)
break;
M_CLEAR) != 0)
break;
- if (!strcmp (buffer, searchbuf)) {
+ if (!
m_
strcmp (buffer, searchbuf)) {
if (SearchCompiled) {
/* do an implicit search-next */
if (ch == OP_SEARCH)
if (SearchCompiled) {
/* do an implicit search-next */
if (ch == OP_SEARCH)