X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-ui%2Fcomplete.c;h=511fee01163d6ec907544e889fa5bb777ea1755f;hp=ded2862e70dc236064fd32c25ec309cb2ea6bf53;hb=cc707c1e986b60f2c1c1932d0789038d465a7a59;hpb=98cf5779d8184a74541be1bc61d15c5f35efd310 diff --git a/lib-ui/complete.c b/lib-ui/complete.c index ded2862..511fee0 100644 --- a/lib-ui/complete.c +++ b/lib-ui/complete.c @@ -8,9 +8,9 @@ */ #include +#include #include "mutt.h" -#include "mx.h" #include "curses.h" #include #ifdef USE_NNTP @@ -78,7 +78,7 @@ int mutt_complete (char *s, ssize_t slen) } } - strcpy (s, filepart); + m_strcpy(s, slen, filepart); return (init ? 0 : -1); }