diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-03-17 16:21:05 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-03-17 16:21:05 (GMT) |
commit | 889a1194740569428674bf926940adc9d59b5d08 (patch) | |
tree | 71c4ce439558144e18af1ecd6f1670dbbfc63975 /Source/CursesDialog | |
parent | d4d27795424f887668b628ae4d08a69b401760bd (diff) | |
download | CMake-889a1194740569428674bf926940adc9d59b5d08.zip CMake-889a1194740569428674bf926940adc9d59b5d08.tar.gz CMake-889a1194740569428674bf926940adc9d59b5d08.tar.bz2 |
If there was no error, do not say that there was one
Diffstat (limited to 'Source/CursesDialog')
-rw-r--r-- | Source/CursesDialog/cmCursesMainForm.cxx | 6 |
1 files 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(); |