Fixed bug #1079, broken !define Unicode null terminator
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6409 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
6c283bde91
commit
51e2b07f05
2 changed files with 3 additions and 1 deletions
|
@ -3121,7 +3121,7 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
|
|||
}
|
||||
}
|
||||
define = line.gettoken_str(2);
|
||||
file_buf.add(_T("\0"),1);
|
||||
file_buf.add(_T("\0"),sizeof(TCHAR));
|
||||
value = (TCHAR *)file_buf.get();
|
||||
|
||||
} else if (!_tcsicmp(define,_T("/math"))) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue