summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/cmCursesForm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CursesDialog/cmCursesForm.cxx')
-rw-r--r--Source/CursesDialog/cmCursesForm.cxx15
1 files changed, 6 insertions, 9 deletions
diff --git a/Source/CursesDialog/cmCursesForm.cxx b/Source/CursesDialog/cmCursesForm.cxx
index d1b470c..aa4710f 100644
--- a/Source/CursesDialog/cmCursesForm.cxx
+++ b/Source/CursesDialog/cmCursesForm.cxx
@@ -21,12 +21,11 @@ cmCursesForm::cmCursesForm()
cmCursesForm::~cmCursesForm()
{
- if (this->Form)
- {
+ if (this->Form) {
unpost_form(this->Form);
free_form(this->Form);
this->Form = 0;
- }
+ }
}
void cmCursesForm::DebugStart()
@@ -37,10 +36,9 @@ void cmCursesForm::DebugStart()
void cmCursesForm::DebugEnd()
{
- if (!cmCursesForm::Debug)
- {
+ if (!cmCursesForm::Debug) {
return;
- }
+ }
cmCursesForm::Debug = false;
cmCursesForm::DebugFile.close();
@@ -48,10 +46,9 @@ void cmCursesForm::DebugEnd()
void cmCursesForm::LogMessage(const char* msg)
{
- if (!cmCursesForm::Debug)
- {
+ if (!cmCursesForm::Debug) {
return;
- }
+ }
cmCursesForm::DebugFile << msg << std::endl;
}