fixed typo

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2004-08-11 08:54:10 +00:00
parent 86afa786d4
commit b65ee6fd83

View File

@ -968,7 +968,7 @@ wxString::wxString(const char *psz, wxMBConv& conv, size_t nLength)
wxCharBuffer inBuf((const char *)NULL);
if (nLength != npos)
{
wxASSERT_MSG( psz != NULL );
wxASSERT( psz != NULL );
wxCharBuffer tmp(nLength);
memcpy(tmp.data(), psz, nLength);
tmp.data()[nLength] = '\0';
@ -1026,7 +1026,7 @@ wxString::wxString(const wchar_t *pwz, wxMBConv& conv, size_t nLength)
wxWCharBuffer inBuf((const wchar_t *)NULL);
if (nLength != npos)
{
wxASSERT_MSG( pwz != NULL );
wxASSERT( pwz != NULL );
wxWCharBuffer tmp(nLength);
memcpy(tmp.data(), pwz, nLength * sizeof(wchar_t));
tmp.data()[nLength] = '\0';