1 --- src/MadEdit/MadEdit.cpp.orig 2010-01-20 22:58:48.597349646 -0430
2 +++ src/MadEdit/MadEdit.cpp 2010-01-20 22:59:47.210672188 -0430
4 m_Config->Read(wxT("MaxLineLength"), &m_MaxLineLength, 4096);
5 if(m_MaxLineLength<80) m_MaxLineLength=80;
7 + if(m_MaxLineLength>4096) m_MaxLineLength=4096;
9 m_WordBuffer = new ucs4_t[m_MaxLineLength+1];
11 m_WCWordBuffer=new wchar_t[(m_MaxLineLength+1)*2];