{
char *eptr;
- if (str_ncasecmp (s, "bright", 6) == 0) {
+ if (m_strncasecmp(s, "bright", 6) == 0) {
*attr |= brite;
s += 6;
}
/* allow aliases for xterm color resources */
- if (str_ncasecmp (s, "color", 5) == 0) {
+ if (m_strncasecmp(s, "color", 5) == 0) {
s += 5;
*col = strtol (s, &eptr, 10);
if (!*s || *eptr || *col < 0 ||
return (-1);
}
- if (str_ncmp (buf->data, "index", 5) != 0) {
+ if (m_strncmp(buf->data, "index", 5) != 0) {
snprintf (err->data, err->dsize,
_("%s: command valid only for index object"),
parse_uncolor ? "uncolor" : "unmono");
break;
}
else {
- if (str_casecmp (s, tmp->pattern) == 0)
+ if (m_strcasecmp(s, tmp->pattern) == 0)
break;
}
tmp = tmp->next;
}
mutt_extract_token (buf, s, 0);
- if (!str_ncmp (buf->data, "quoted", 6)) {
+ if (!m_strncmp(buf->data, "quoted", 6)) {
if (buf->data[6]) {
*ql = strtol (buf->data + 6, &eptr, 10);
if (*eptr || q_level < 0) {