replaced WCStrLen with winchar_strlen
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5058 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
df24dbe687
commit
4cf73d2316
3 changed files with 2 additions and 5 deletions
|
@ -451,7 +451,7 @@ int WideCharToMultiByte(UINT CodePage, DWORD dwFlags, LPCWSTR lpWideCharStr,
|
|||
}
|
||||
|
||||
if (cchWideChar < 0) {
|
||||
cchWideChar = (int) WCStrLen(lpWideCharStr); // including null char
|
||||
cchWideChar = (int) winchar_strlen(lpWideCharStr) + 1;
|
||||
}
|
||||
|
||||
if (cbMultiByte == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue