summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-03-17 16:21:05 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-03-17 16:21:05 (GMT)
commit889a1194740569428674bf926940adc9d59b5d08 (patch)
tree71c4ce439558144e18af1ecd6f1670dbbfc63975 /Source/CursesDialog
parentd4d27795424f887668b628ae4d08a69b401760bd (diff)
downloadCMake-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.cxx6
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();