* fix in wcslen()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Guilhem Lavaux
1999-05-13 09:44:03 +00:00
parent ae2d6d0200
commit cd8b9f13c7

View File

@@ -116,7 +116,7 @@ bool WXDLLEXPORT wxOKlibc()
#ifndef HAVE_WCSLEN
size_t WXDLLEXPORT wcslen(const wchar_t *s)
{
size_t len;
size_t len = 0;
while (s[len]) len++;
return len;
}