X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=score.c;fp=score.c;h=1c442ecb1b7e8f7b2faff8a8a12b9411f4d64432;hp=fba01f826b443edc62bcb186ee586bdfc7c73682;hb=a8477ebaa09990b3688164cbe5cf661c4189541d;hpb=e01486aabea6f0af36933158bd58b9ab03b30add diff --git a/score.c b/score.c index fba01f8..1c442ec 100644 --- a/score.c +++ b/score.c @@ -78,7 +78,7 @@ int mutt_parse_score (BUFFER * buf, BUFFER * s, unsigned long data, /* look for an existing entry and update the value, else add it to the end of the list */ for (ptr = Score, last = NULL; ptr; last = ptr, ptr = ptr->next) - if (mutt_strcmp (pattern, ptr->str) == 0) + if (str_cmp (pattern, ptr->str) == 0) break; if (!ptr) { if ((pat = mutt_pattern_comp (pattern, 0, err)) == NULL) { @@ -135,7 +135,7 @@ int mutt_parse_unscore (BUFFER * buf, BUFFER * s, unsigned long data, while (MoreArgs (s)) { mutt_extract_token (buf, s, 0); - if (!mutt_strcmp ("*", buf->data)) { + if (!str_cmp ("*", buf->data)) { for (tmp = Score; tmp;) { last = tmp; tmp = tmp->next; @@ -146,7 +146,7 @@ int mutt_parse_unscore (BUFFER * buf, BUFFER * s, unsigned long data, } else { for (tmp = Score; tmp; last = tmp, tmp = tmp->next) { - if (!mutt_strcmp (buf->data, tmp->str)) { + if (!str_cmp (buf->data, tmp->str)) { if (last) last->next = tmp->next; else