Fix for image saving speedup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
80b8c88a63
commit
8337ae1e40
@ -10422,7 +10422,7 @@ bool wxRichTextImageBlock::WriteHex(wxOutputStream& stream)
|
||||
|
||||
int bufSize = 100000;
|
||||
if (int(m_dataSize+1) < bufSize)
|
||||
bufSize = m_dataSize+1;
|
||||
bufSize = m_dataSize;
|
||||
char* buf = new char[bufSize+1];
|
||||
|
||||
int left = m_dataSize;
|
||||
|
Loading…
Reference in New Issue
Block a user