search for /TIMEOUT= only at the beginning of the input string
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4369 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
90919b0ea6
commit
60026493e7
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ void ExecScript(int log) {
|
||||||
|
|
||||||
params:
|
params:
|
||||||
popstring(pExec);
|
popstring(pExec);
|
||||||
if (my_strstr(pExec, "/TIMEOUT=")) {
|
if (my_strstr(pExec, "/TIMEOUT=") == pExec) {
|
||||||
char *szTimeout = pExec + 9;
|
char *szTimeout = pExec + 9;
|
||||||
g_to = my_atoi(szTimeout);
|
g_to = my_atoi(szTimeout);
|
||||||
goto params;
|
goto params;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue