fixed bug #2801024 - CreateFont doesn't make sure the first parameter is a valid variable
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5969 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
88af5d9d89
commit
b5a55b0073
1 changed files with 1 additions and 0 deletions
|
@ -4316,6 +4316,7 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
|
|||
case TOK_CREATEFONT:
|
||||
ent.which=EW_CREATEFONT;
|
||||
ent.offsets[0]=GetUserVarIndex(line, 1);
|
||||
if (ent.offsets[0] < 0) PRINTHELP()
|
||||
ent.offsets[1]=add_string(line.gettoken_str(2));
|
||||
SCRIPT_MSG("CreateFont: output=%s \"%s\"",line.gettoken_str(1),line.gettoken_str(2));
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue