From: Julian Smart Date: Wed, 29 Sep 2004 13:29:48 +0000 (+0000) Subject: Increased a buffer size X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a65abcfdeb11274b08c1f8b4dc6a6e32ce0f3fe7 Increased a buffer size git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/contrib/src/ogl/oglmisc.cpp b/contrib/src/ogl/oglmisc.cpp index 19976f0fbf..74efcd1609 100644 --- a/contrib/src/ogl/oglmisc.cpp +++ b/contrib/src/ogl/oglmisc.cpp @@ -383,7 +383,7 @@ wxStringList *oglFormatText(wxDC& dc, const wxString& text, double width, double // Make new lines into NULL strings at this point 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; while (i < len) {