remove yet anoter round of str_* functions, replaced with their inlineable
[apps/madmutt.git] / complete.c
index 55df906..679a839 100644 (file)
@@ -78,7 +78,7 @@ int mutt_complete (char *s, size_t slen)
       NNTP_DATA *data = (NNTP_DATA *) l->data;
 
       if (data && data->subscribed &&
-          str_ncmp (data->group, filepart, len) == 0) {
+          m_strncmp(data->group, filepart, len) == 0) {
         if (init) {
           for (i = 0; filepart[i] && data->group[i]; i++) {
             if (filepart[i] != data->group[i]) {
@@ -185,7 +185,7 @@ int mutt_complete (char *s, size_t slen)
   }
 
   while ((de = readdir (dirp)) != NULL) {
-    if (str_ncmp (de->d_name, filepart, len) == 0) {
+    if (m_strncmp(de->d_name, filepart, len) == 0) {
       if (init) {
         for (i = 0; filepart[i] && de->d_name[i]; i++) {
           if (filepart[i] != de->d_name[i]) {