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:
Julian Smart 2004-09-29 13:29:48 +00:00
parent f0e8a2d077
commit a65abcfdeb

View File

@ -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)
{ {