oops, fixed crash introduced in last check in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -319,7 +319,7 @@ bool wxStringBase::AllocBeforeWrite(size_t nLen)
|
|||||||
// it doesn't really matter what the string length is as it's going to be
|
// it doesn't really matter what the string length is as it's going to be
|
||||||
// overwritten later but, for extra safety, set it to 0 for now as we may
|
// overwritten later but, for extra safety, set it to 0 for now as we may
|
||||||
// have some junk in m_pchData
|
// have some junk in m_pchData
|
||||||
pData->nDataLength = 0;
|
GetStringData()->nDataLength = 0;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user