Don't use the evil _tcsnccpy/strncpy function.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6487 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
36deb84820
commit
37233030e1
5 changed files with 20 additions and 30 deletions
|
@ -40,7 +40,7 @@ int ConstantsStringList::add(const TCHAR *name, int value1, int value2)
|
|||
return temp;
|
||||
}
|
||||
|
||||
int ConstantsStringList::get(TCHAR *name, int n_chars /*= -1*/)
|
||||
int ConstantsStringList::get(const TCHAR *name, int n_chars /*= -1*/)
|
||||
{
|
||||
int v=SortedStringListND<struct constantstring>::find(name, n_chars);
|
||||
if (v==-1) return -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue