If there was no error, do not say that there was one
This commit is contained in:
parent
d4d2779542
commit
889a119474
|
@ -665,8 +665,10 @@ int cmCursesMainForm::Configure()
|
|||
cmSystemTools::ResetErrorOccuredFlag();
|
||||
int xx,yy;
|
||||
getmaxyx(stdscr, yy, xx);
|
||||
cmCursesLongMessageForm* msgs = new cmCursesLongMessageForm(m_Errors,
|
||||
"Errors occurred during the last pass.");
|
||||
cmCursesLongMessageForm* msgs = new cmCursesLongMessageForm(
|
||||
m_Errors,
|
||||
cmSystemTools::GetErrorOccuredFlag() ? "Errors occurred during the last pass." :
|
||||
"CMake produced the following output.");
|
||||
CurrentForm = msgs;
|
||||
msgs->Render(1,1,xx,yy);
|
||||
msgs->HandleInput();
|
||||
|
|
Loading…
Reference in New Issue