Fix !searchparse
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6367 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
6ab6d98ca1
commit
cc796c202d
1 changed files with 2 additions and 2 deletions
|
@ -6884,12 +6884,12 @@ DefineList *CEXEBuild::searchParseString(const TCHAR *source_string, LineParser&
|
|||
if (failParam) *failParam = ret ? ret->getnum() : 0;
|
||||
if (noErrors) break; // Caller is OK with a incomplete list of matched strings
|
||||
const TCHAR *msgprefix = src_start ? _T("") : _T("starting ");
|
||||
ERROR_MSG(_T("!searchparse: %sstring \"%s\" not found, aborted search!\n"),msgprefix,tok);
|
||||
ERROR_MSG(_T("!searchparse: %sstring \"%s\" not found, aborted search!\n"),msgprefix,tok?tok:_T("(null)"));
|
||||
delete ret;
|
||||
return NULL;
|
||||
}
|
||||
if (maxlen < 0) break;
|
||||
defout = line.gettoken_str(parmOffs++), src_start = source_string + toklen;
|
||||
defout = line.gettoken_str(parmOffs++), src_start = source_string += toklen;
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue