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:
kichik 2006-02-24 19:14:18 +00:00
parent 32a717faf5
commit 578065d849
4 changed files with 13 additions and 7 deletions

View file

@ -5,6 +5,7 @@
#include "util.h"
#include "DialogTemplate.h"
#include "exehead/resource.h"
#include "version.h"
using namespace std;
@ -840,8 +841,8 @@ void CEXEBuild::FillLanguageTable(LanguageTable *table) {
if (!dstr)
continue;
if (i == NLF_BRANDING) {
char temp[NSIS_MAX_STRLEN + sizeof(CONST_STR(NSIS_VERSION))];
sprintf(temp, dstr, CONST_STR(NSIS_VERSION));
char temp[NSIS_MAX_STRLEN + sizeof(NSIS_VERSION)];
sprintf(temp, dstr, NSIS_VERSION);
table->lang_strings->set(sn, temp);
continue;
}