#include "attach.h"
#include "reldate.h"
+#include "version.h"
#ifdef USE_IMAP
#include "imap.h"
return mtime;
}
-const char *mutt_make_version (void)
+const char *mutt_make_version (int full)
{
static char vstring[STRING];
- snprintf (vstring, sizeof (vstring), "Mutt-ng %s (based on Mutt 1.5.10/%s)",
- MUTT_VERSION, ReleaseDate);
+ if (full)
+ snprintf (vstring, sizeof (vstring), "Mutt-ng %s (based "
+ "on Mutt 1.5.10/%s)", MUTT_VERSION, ReleaseDate);
+ else
+ snprintf (vstring, sizeof (vstring), "mutt-ng/%s", MUTT_VERSION);
return vstring;
}