X-Git-Url: http://git.madism.org/?a=blobdiff_plain;ds=sidebyside;f=lib-ui%2Fcomplete.c;h=a06593bce4fe70c7b2278d15d114a18166aebdc2;hb=546a6855b7d44c415cb397e3a62f6a854132a0dd;hp=ded2862e70dc236064fd32c25ec309cb2ea6bf53;hpb=98cf5779d8184a74541be1bc61d15c5f35efd310;p=apps%2Fmadmutt.git diff --git a/lib-ui/complete.c b/lib-ui/complete.c index ded2862..a06593b 100644 --- a/lib-ui/complete.c +++ b/lib-ui/complete.c @@ -8,13 +8,13 @@ */ #include +#include #include "mutt.h" -#include "mx.h" #include "curses.h" #include #ifdef USE_NNTP -#include +#include "nntp.h" #endif /* given a partial pathname, this routine fills in as much of the rest of the @@ -78,7 +78,7 @@ int mutt_complete (char *s, ssize_t slen) } } - strcpy (s, filepart); + m_strcpy(s, slen, filepart); return (init ? 0 : -1); }