Browse Source

Attempt to fix SGI ccmake problem (thank you Clint Miller)

Andy Cedilnik 23 years ago
parent
commit
852ad56a6c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/CursesDialog/cmCursesStringWidget.cxx

+ 1 - 1
Source/CursesDialog/cmCursesStringWidget.cxx

@@ -75,7 +75,7 @@ bool cmCursesStringWidget::HandleInput(int& key, cmCursesMainForm* fm,
 
   FORM* form = fm->GetForm();
   // 10 == enter
-  if (!m_InEdit && ( key != 10 ) )
+  if (!m_InEdit && ( key != 10 && key != KEY_ENTER ) )
     {
     return false;
     }