COMP: Changed while(1) to for(;;) to avoid warning about constant control expression.
This commit is contained in:
parent
7b7f1db00a
commit
c7a75e92c9
|
@ -174,7 +174,7 @@ void cmCursesLongMessageForm::HandleInput()
|
|||
|
||||
char debugMessage[128];
|
||||
|
||||
while(1)
|
||||
for(;;)
|
||||
{
|
||||
int key = getch();
|
||||
|
||||
|
|
|
@ -848,7 +848,7 @@ void cmCursesMainForm::HandleInput()
|
|||
|
||||
char debugMessage[128];
|
||||
|
||||
while(1)
|
||||
for(;;)
|
||||
{
|
||||
this->UpdateStatusBar();
|
||||
this->PrintKeys();
|
||||
|
|
Loading…
Reference in New Issue