From 852ad56a6ca95cc1de5380a2206241c45f60183a Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Mon, 17 Feb 2003 09:59:03 -0500 Subject: [PATCH] Attempt to fix SGI ccmake problem (thank you Clint Miller) --- Source/CursesDialog/cmCursesStringWidget.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/CursesDialog/cmCursesStringWidget.cxx b/Source/CursesDialog/cmCursesStringWidget.cxx index 265499814..31ed31235 100644 --- a/Source/CursesDialog/cmCursesStringWidget.cxx +++ b/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; }