less horrible strncpy's
[apps/madmutt.git] / status.c
index 95ad3ff..bab4295 100644 (file)
--- a/status.c
+++ b/status.c
@@ -283,7 +283,7 @@ static const char *status_format_str (char *buf, size_t buflen, char op,
     break;
 
   case 'v':
-    strncpy (buf, mutt_make_version (0), buflen);
+    m_strcpy(buf, buflen, mutt_make_version(0));
     break;
 
   case 'V':