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

This commit is contained in:
Andy Cedilnik 2003-02-17 09:59:03 -05:00
parent d54e7a6888
commit 852ad56a6c
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}