Use good m_ functions, because it smell like a flower, version 2.
[apps/madmutt.git] / lib-ui / complete.c
index 97f5b2d..511fee0 100644 (file)
@@ -78,7 +78,7 @@ int mutt_complete (char *s, ssize_t slen)
       }
     }
 
-    strcpy (s, filepart);
+    m_strcpy(s, slen, filepart);
 
     return (init ? 0 : -1);
   }