Remove support for antiquated ncurses libraries. Assume we have at least ncurses...
[apps/madmutt.git] / lib-ui / status.c
index 9c4bdf9..fb61664 100644 (file)
@@ -98,7 +98,7 @@ status_format_str(char *buf, ssize_t buflen, char op, const char *src,
 
   case 'h':
     snprintf (fmt, sizeof (fmt), "%%%ss", prefix);
-    snprintf (buf, buflen, fmt, NONULL (Hostname));
+    snprintf (buf, buflen, fmt, NONULL (mod_core.shorthost));
     break;
 
   case 'f':
@@ -256,7 +256,7 @@ status_format_str(char *buf, ssize_t buflen, char op, const char *src,
     break;
 
   case 'v':
-    m_strcpy(buf, buflen, mutt_make_version(0));
+    m_strcpy(buf, buflen, mutt_make_version());
     break;
 
   case 'V':