Explorar o código

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

Andy Cedilnik %!s(int64=23) %!d(string=hai) anos
pai
achega
852ad56a6c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
     }