BUG: don't let the messages get too big
This commit is contained in:
parent
d55033b4c1
commit
02722857bd
|
@ -144,7 +144,7 @@ void cmCursesLongMessageForm::Render(int, int, int, int)
|
|||
|
||||
int i=0;
|
||||
form_driver(m_Form, REQ_BEG_FIELD);
|
||||
while(msg[i] != '\0')
|
||||
while(msg[i] != '\0' && i < 60000)
|
||||
{
|
||||
if (msg[i] == '\n' && msg[i+1] != '\0')
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue