Fixed bug #2680110 (embarrassing for me)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5949 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
407033f1d6
commit
93352bd1d7
1 changed files with 6 additions and 5 deletions
|
@ -3114,6 +3114,7 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
|
||||||
char str[MAX_LINELENGTH];
|
char str[MAX_LINELENGTH];
|
||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
|
tmpstr.resize(0);
|
||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
str[0]=0;
|
str[0]=0;
|
||||||
|
@ -3132,6 +3133,8 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
|
||||||
if (!endSlash) break;
|
if (!endSlash) break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!str[0] && !tmpstr.getlen()) break; // failed
|
||||||
|
|
||||||
char *thisline=str;
|
char *thisline=str;
|
||||||
if (tmpstr.getlen())
|
if (tmpstr.getlen())
|
||||||
{
|
{
|
||||||
|
@ -3152,8 +3155,6 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
|
||||||
else delete list;
|
else delete list;
|
||||||
}
|
}
|
||||||
// parse line
|
// parse line
|
||||||
|
|
||||||
tmpstr.resize(0);
|
|
||||||
}
|
}
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
if (!noErrors)
|
if (!noErrors)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue