fix Unicode compilation
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6204 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
e31ccf2190
commit
985f4b5e00
2 changed files with 2 additions and 2 deletions
|
@ -494,7 +494,7 @@ int CEXEBuild::SetLangString(TCHAR *name, LANGID lang, const TCHAR *str, BOOL un
|
|||
int sn;
|
||||
|
||||
if (_tcsclen(str) > NSIS_MAX_STRLEN-1)
|
||||
warning_fl("LangString \"%s\" longer than NSIS_MAX_STRLEN!", name);
|
||||
warning_fl(_T("LangString \"%s\" longer than NSIS_MAX_STRLEN!"), name);
|
||||
|
||||
int pos = build_langstrings.get(name, &sn);
|
||||
if (pos < 0)
|
||||
|
|
|
@ -553,7 +553,7 @@ parse_again:
|
|||
PRINTHELP()
|
||||
}
|
||||
if (!cnv1 || !cnv2) {
|
||||
warning_fl("Invalid number: \"%s\"", line.gettoken_str(!cnv1 ? 1 : 3));
|
||||
warning_fl(_T("Invalid number: \"%s\""), line.gettoken_str(!cnv1 ? 1 : 3));
|
||||
}
|
||||
}
|
||||
else PRINTHELP()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue