[Cmake-commits] [cmake-commits] hoffman committed cmCursesMainForm.cxx 1.73 1.74
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Oct 9 12:49:52 EDT 2008
Update of /cvsroot/CMake/CMake/Source/CursesDialog
In directory public:/mounts/ram/cvs-serv6079
Modified Files:
cmCursesMainForm.cxx
Log Message:
BUG: fix for 4026, display a message if ccmake has errors
Index: cmCursesMainForm.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CursesDialog/cmCursesMainForm.cxx,v
retrieving revision 1.73
retrieving revision 1.74
diff -C 2 -d -r1.73 -r1.74
*** cmCursesMainForm.cxx 7 Mar 2008 21:32:09 -0000 1.73
--- cmCursesMainForm.cxx 9 Oct 2008 16:49:49 -0000 1.74
***************
*** 684,695 ****
this->OkToGenerate = false;
}
- // reset error condition
- cmSystemTools::ResetErrorOccuredFlag();
int xx,yy;
getmaxyx(stdscr, yy, xx);
cmCursesLongMessageForm* msgs = new cmCursesLongMessageForm(
this->Errors,
! cmSystemTools::GetErrorOccuredFlag() ? "Errors occurred during the last pass." :
! "CMake produced the following output.");
CurrentForm = msgs;
msgs->Render(1,1,xx,yy);
--- 684,696 ----
this->OkToGenerate = false;
}
int xx,yy;
getmaxyx(stdscr, yy, xx);
cmCursesLongMessageForm* msgs = new cmCursesLongMessageForm(
this->Errors,
! cmSystemTools::GetErrorOccuredFlag()
! ? "Errors occurred during the last pass." :
! "CMake produced the following output.");
! // reset error condition
! cmSystemTools::ResetErrorOccuredFlag();
CurrentForm = msgs;
msgs->Render(1,1,xx,yy);
More information about the Cmake-commits
mailing list