summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/CursesDialog/cmCursesLongMessageForm.cxx2
-rw-r--r--Source/CursesDialog/cmCursesMainForm.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/CursesDialog/cmCursesLongMessageForm.cxx b/Source/CursesDialog/cmCursesLongMessageForm.cxx
index 0e454f2..e8dc1ae 100644
--- a/Source/CursesDialog/cmCursesLongMessageForm.cxx
+++ b/Source/CursesDialog/cmCursesLongMessageForm.cxx
@@ -174,7 +174,7 @@ void cmCursesLongMessageForm::HandleInput()
char debugMessage[128];
- while(1)
+ for(;;)
{
int key = getch();
diff --git a/Source/CursesDialog/cmCursesMainForm.cxx b/Source/CursesDialog/cmCursesMainForm.cxx
index 22783b5..1b0b0b0 100644
--- a/Source/CursesDialog/cmCursesMainForm.cxx
+++ b/Source/CursesDialog/cmCursesMainForm.cxx
@@ -848,7 +848,7 @@ void cmCursesMainForm::HandleInput()
char debugMessage[128];
- while(1)
+ for(;;)
{
this->UpdateStatusBar();
this->PrintKeys();