From 889a1194740569428674bf926940adc9d59b5d08 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Mon, 17 Mar 2003 11:21:05 -0500 Subject: If there was no error, do not say that there was one --- Source/CursesDialog/cmCursesMainForm.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Source/CursesDialog/cmCursesMainForm.cxx b/Source/CursesDialog/cmCursesMainForm.cxx index 512dcd6..546dc32 100644 --- a/Source/CursesDialog/cmCursesMainForm.cxx +++ b/Source/CursesDialog/cmCursesMainForm.cxx @@ -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(); -- cgit v0.12