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:
kichik 2007-04-11 21:37:08 +00:00
parent df24dbe687
commit 4cf73d2316
3 changed files with 2 additions and 5 deletions

View file

@ -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) {