X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=status.c;h=95ad3ffc9ee3e4932a623610cb9479ff80062ca5;hp=2a925b699b9a86e4fc5320c7931182531bbd0613;hb=7f7a0be369840b290248e5b0302beb447fa1b3cd;hpb=308c7080ccca40d4865d8810f5528331d9ed61ff diff --git a/status.c b/status.c index 2a925b6..95ad3ff 100644 --- a/status.c +++ b/status.c @@ -12,6 +12,7 @@ #endif #include +#include #include #include "mutt.h" @@ -22,7 +23,6 @@ #include "mx.h" #include "buffy.h" -#include "lib/str.h" #include #include @@ -245,7 +245,7 @@ static const char *status_format_str (char *buf, size_t buflen, char op, if (!StChars) buf[0] = 0; - else if (i >= str_len (StChars)) + else if (i >= m_strlen(StChars)) buf[0] = StChars[0]; else buf[0] = StChars[i];