fixed bad input test

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4370 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2005-11-05 13:41:46 +00:00
parent 60026493e7
commit 373eac3da8

View file

@ -154,14 +154,16 @@ params:
if (my_strstr(pExec, "/TIMEOUT=") == pExec) {
char *szTimeout = pExec + 9;
g_to = my_atoi(szTimeout);
*pExec = 0;
goto params;
}
if (!lstrcmpi(pExec, "/OEM")) {
bOEM = TRUE;
*pExec = 0;
goto params;
}
if (!g_exec[0])
if (!pExec[0])
{
lstrcpy(szRet, "error");
goto done;