X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=muttlib.c;h=1aadda34230f8de7140e24ed28b6ea609bcc3f5f;hb=6141042cd0f8e305182da8dd77d21b40d5aa8b4f;hp=57fabf38db0972c2732fc829e972c899b08601ac;hpb=926c11d6cc2cf92ec20792edaef2608d3f3b198b;p=apps%2Fmadmutt.git diff --git a/muttlib.c b/muttlib.c index 57fabf3..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; } @@ -501,7 +493,6 @@ int mutt_extract_token(BUFFER *dest, BUFFER *tok, int flags) if ((ISSPACE(ch) && !(flags & M_TOKEN_SPACE)) || (ch == '#' && !(flags & M_TOKEN_COMMENT)) || (ch == '=' && (flags & M_TOKEN_EQUAL)) - || (ch == ';' && !(flags & M_TOKEN_SEMICOLON)) || ((flags & M_TOKEN_PATTERN) && strchr("~=!|", ch))) { break;