X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=muttlib.c;h=d5bd3b7ffca243a5e65d82bc22d74d5a3bfbc088;hp=b55dfda5a7882c22cb32657dc6c09ff837074463;hb=452ffdd4bbcd8f2dd9e4811c115824b556814ebb;hpb=364bf52ada05bf7d7158dba9d2391f63b71258f6 diff --git a/muttlib.c b/muttlib.c index b55dfda..d5bd3b7 100644 --- a/muttlib.c +++ b/muttlib.c @@ -23,7 +23,7 @@ #include "attach.h" #include "reldate.h" -#include "svnrev.h" +#include "version.h" #ifdef USE_IMAP #include "imap.h" @@ -1290,12 +1290,12 @@ const char *mutt_make_version (int full) static char vstring[STRING]; if (full) - snprintf (vstring, sizeof (vstring), "Mutt-ng %s-%s (based " - "on Mutt 1.5.10/%s)", MUTT_VERSION, MUTTNG_SVNREV, + snprintf (vstring, sizeof (vstring), "Mutt-ng %s-r%s (based " + "on Mutt 1.5.10/%s)", MUTT_VERSION, MUTT_REVISION, ReleaseDate); else - snprintf (vstring, sizeof (vstring), "mutt-ng/%s-%s", - MUTT_VERSION, MUTTNG_SVNREV); + snprintf (vstring, sizeof (vstring), "mutt-ng/%s-r%s", + MUTT_VERSION, MUTT_REVISION); return vstring; }