fixed wxString::resize() which was completely broken
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
4d509295ee
commit
eb749c3e37
@ -1632,7 +1632,7 @@ void wxString::resize(size_t nSize, wxChar ch)
|
||||
}
|
||||
else if ( nSize > len )
|
||||
{
|
||||
*this += wxString(ch, len - nSize);
|
||||
*this += wxString(ch, nSize - len);
|
||||
}
|
||||
//else: we have exactly the specified length, nothing to do
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user