X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f7d83f24fbdeece199913dad56690f949e04ba78..708cc39462e4f113ab1a52b502b79d1e473059e7:/src/richtext/richtextbuffer.cpp?ds=sidebyside diff --git a/src/richtext/richtextbuffer.cpp b/src/richtext/richtextbuffer.cpp index c8a276be44..621805fd25 100644 --- a/src/richtext/richtextbuffer.cpp +++ b/src/richtext/richtextbuffer.cpp @@ -7844,7 +7844,7 @@ bool wxRichTextImageBlock::DoMakeImageBlock(const wxImage& image, wxBitmapType i unsigned char* block = new unsigned char[memStream.GetSize()]; if (!block) - return NULL; + return false; if (m_data) delete[] m_data;