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:
@@ -10422,7 +10422,7 @@ bool wxRichTextImageBlock::WriteHex(wxOutputStream& stream)
|
|||||||
|
|
||||||
int bufSize = 100000;
|
int bufSize = 100000;
|
||||||
if (int(m_dataSize+1) < bufSize)
|
if (int(m_dataSize+1) < bufSize)
|
||||||
bufSize = m_dataSize+1;
|
bufSize = m_dataSize;
|
||||||
char* buf = new char[bufSize+1];
|
char* buf = new char[bufSize+1];
|
||||||
|
|
||||||
int left = m_dataSize;
|
int left = m_dataSize;
|
||||||
|
Reference in New Issue
Block a user