Clarify ${GetParameters} documentation
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6636 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
6eaea6479f
commit
7d64d54ae7
2 changed files with 3 additions and 3 deletions
|
@ -101,7 +101,7 @@ unsigned int ExeHeadStringList::find(const TCHAR *str, WORD codepage, bool proce
|
|||
unsigned int ExeHeadStringList::find(const void *ptr, unsigned int cchF, WORD codepage, bool processed, char**ppBufMB) const
|
||||
{
|
||||
const wchar_t *find = (const wchar_t*) ptr; // Data is: m_wide ? UTF16LE : wchar_t
|
||||
if (!*find) return 0; // The empty string is always first.
|
||||
if (!*find) return 0; // The empty string is always first (ExeHead uses string block offset 0 to indicate no parameter present in some places).
|
||||
|
||||
char *p = (char*) m_gr.get();
|
||||
if (!p) return -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue