X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=muttlib.c;h=1aadda34230f8de7140e24ed28b6ea609bcc3f5f;hp=6ff6d8910dbc6f5261a5e0aa804b6418f292cb6e;hb=fc7b90fd61ac9efd35a5b506cc10679969d84cba;hpb=73f7668b25b19be237399aaf2343fb7d432702a6 diff --git a/muttlib.c b/muttlib.c index 6ff6d89..1aadda3 100644 --- a/muttlib.c +++ b/muttlib.c @@ -21,7 +21,6 @@ #include "alias.h" #include "mutt.h" #include "attach.h" -#include "version.h" /* Modified by blong to accept a "suggestion" for file name. If * that file exists, then construct one with unique name but @@ -380,17 +379,10 @@ void mutt_sleep (short s) sleep(MAX(s, SleepTime)); } -const char *mutt_make_version (int full) +const char *mutt_make_version(void) { static char vstring[STRING]; - - if (full) - snprintf (vstring, sizeof (vstring), - "Madmutt/%s-r%s (based on Mutt 1.5.11)", - MUTT_VERSION, MUTT_REVISION); - else - snprintf (vstring, sizeof (vstring), "Madmutt/%s-%s", - MUTT_VERSION, MUTT_REVISION); + snprintf(vstring, sizeof (vstring), "Madmutt/%s", MUTT_VERSION); return vstring; }