use NSIS_VERSION from the new automatically genereated version.h
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4537 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
32a717faf5
commit
578065d849
4 changed files with 13 additions and 7 deletions
|
@ -44,6 +44,8 @@
|
|||
#include "build.h"
|
||||
#include "util.h"
|
||||
|
||||
#include "version.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
int g_noconfig=0;
|
||||
|
@ -85,7 +87,7 @@ static void print_logo()
|
|||
"Portions Copyright (C) 1996-2002 Julian R Seward (bzip2).\n"
|
||||
"Portions Copyright (C) 1999-2003 Igor Pavlov (lzma).\n"
|
||||
"\n"
|
||||
"Contributors: nnop@newmail.ru, Ryan Geiss, Andras Varga, Drew Davidson, Peter Windridge, Dave Laundon, Robert Rainwater, Yaroslav Faybishenko, Jeff Doozan, Amir Szekely, Ximon Eighteen, et al.\n\n",CONST_STR(NSIS_VERSION));
|
||||
"Contributors: nnop@newmail.ru, Ryan Geiss, Andras Varga, Drew Davidson, Peter Windridge, Dave Laundon, Robert Rainwater, Yaroslav Faybishenko, Jeff Doozan, Amir Szekely, Ximon Eighteen, et al.\n\n",NSIS_VERSION);
|
||||
fflush(g_output);
|
||||
}
|
||||
|
||||
|
@ -254,7 +256,7 @@ int main(int argc, char **argv)
|
|||
|
||||
if (argc > 1 && !stricmp(argv[1], OPT_STR "VERSION"))
|
||||
{
|
||||
fprintf(g_output,CONST_STR(NSIS_VERSION));
|
||||
fprintf(g_output,NSIS_VERSION);
|
||||
fflush(g_output);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue