diff options
Diffstat (limited to 'Source/CursesDialog')
-rw-r--r-- | Source/CursesDialog/ccmake.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/CursesDialog/ccmake.cxx b/Source/CursesDialog/ccmake.cxx index 2d1ef5c..d70bedb 100644 --- a/Source/CursesDialog/ccmake.cxx +++ b/Source/CursesDialog/ccmake.cxx @@ -73,7 +73,8 @@ void onsig(int) } -void CMakeErrorHandler(const char* message, const char* title, bool&, void* clientData) +void CMakeMessageHandler(const char* message, const char* title, bool&, + void* clientData) { cmCursesForm* self = static_cast<cmCursesForm*>( clientData ); self->AddError(message, title); @@ -171,7 +172,7 @@ int main(int argc, char const* const* argv) return 1; } - cmSystemTools::SetErrorCallback(CMakeErrorHandler, myform); + cmSystemTools::SetMessageCallback(CMakeMessageHandler, myform); cmCursesForm::CurrentForm = myform; |