arg name is s not str
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6429 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
9b3a98a07f
commit
069a18860a
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ size_t WinWStrLen(const WINWCHAR *s)
|
||||||
#ifdef MAKENSIS // Only makensis implements all the functions in utf.cpp
|
#ifdef MAKENSIS // Only makensis implements all the functions in utf.cpp
|
||||||
return StrLenUTF16(s);
|
return StrLenUTF16(s);
|
||||||
#else
|
#else
|
||||||
return sizeof(wchar_t) == 2 ? wcslen((wchar_t*)str) : InlineStrLenUTF16(str);
|
return sizeof(wchar_t) == 2 ? wcslen((wchar_t*)s) : InlineStrLenUTF16(s);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue