From 94ac840b49616e27ef30da6824aba9ec5c8321e7 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 19 Feb 2005 22:53:22 +0000 Subject: [PATCH] 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 --- src/common/string.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/string.cpp b/src/common/string.cpp index 1a86ca3d1b..aa150ea4af 100644 --- a/src/common/string.cpp +++ b/src/common/string.cpp @@ -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 // overwritten later but, for extra safety, set it to 0 for now as we may // have some junk in m_pchData - pData->nDataLength = 0; + GetStringData()->nDataLength = 0; return true; } -- 2.45.2