Increased a buffer size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f0e8a2d077
commit
a65abcfdeb
@ -383,7 +383,7 @@ wxStringList *oglFormatText(wxDC& dc, const wxString& text, double width, double
|
|||||||
|
|
||||||
// Make new lines into NULL strings at this point
|
// Make new lines into NULL strings at this point
|
||||||
int i = 0; int j = 0; int len = text.Length();
|
int i = 0; int j = 0; int len = text.Length();
|
||||||
wxChar word[200]; word[0] = 0;
|
wxChar word[400]; word[0] = 0;
|
||||||
bool end_word = false; bool new_line = false;
|
bool end_word = false; bool new_line = false;
|
||||||
while (i < len)
|
while (i < len)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user