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();
|
cmSystemTools::ResetErrorOccuredFlag();
|
||||||
int xx,yy;
|
int xx,yy;
|
||||||
getmaxyx(stdscr, yy, xx);
|
getmaxyx(stdscr, yy, xx);
|
||||||
cmCursesLongMessageForm* msgs = new cmCursesLongMessageForm(m_Errors,
|
cmCursesLongMessageForm* msgs = new cmCursesLongMessageForm(
|
||||||
"Errors occurred during the last pass.");
|
m_Errors,
|
||||||
|
cmSystemTools::GetErrorOccuredFlag() ? "Errors occurred during the last pass." :
|
||||||
|
"CMake produced the following output.");
|
||||||
CurrentForm = msgs;
|
CurrentForm = msgs;
|
||||||
msgs->Render(1,1,xx,yy);
|
msgs->Render(1,1,xx,yy);
|
||||||
msgs->HandleInput();
|
msgs->HandleInput();
|
||||||
|
|
Loading…
Reference in New Issue