X-Git-Url: http://git.madism.org/?a=blobdiff_plain;ds=sidebyside;f=pager.c;h=982f7f3fb78cc3a27f70695d083e2d5ee7b33b3b;hb=c76ab67f3430e67b14b381bc1e3a23a14a4053b8;hp=9c2d797bd41e1ba9f124ae114767729805f5c9d1;hpb=9ed7a487e3a922f2cbb222961c2c9710c3a65f91;p=apps%2Fmadmutt.git diff --git a/pager.c b/pager.c index 9c2d797..982f7f3 100644 --- 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; -#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; -#endif 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; - if (!strcmp (buffer, searchbuf)) { + if (!m_strcmp (buffer, searchbuf)) { if (SearchCompiled) { /* do an implicit search-next */ if (ch == OP_SEARCH)