Rocco Rutte:
[apps/madmutt.git] / status.c
index 5265a7c..212b007 100644 (file)
--- a/status.c
+++ b/status.c
@@ -279,8 +279,7 @@ static const char *status_format_str (char *buf, size_t buflen, char op,
     break;
 
   case 'v':
-    snprintf (fmt, sizeof (fmt), "Mutt-ng %%s");
-    snprintf (buf, buflen, fmt, MUTT_VERSION);
+    strncpy (buf, mutt_make_version (0), buflen);
     break;
 
   case 'V':