diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-02-17 14:59:03 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-02-17 14:59:03 (GMT) |
commit | 852ad56a6ca95cc1de5380a2206241c45f60183a (patch) | |
tree | 4ae6dce48cddc874237c2456757491732c76df4d /Source/CursesDialog/cmCursesStringWidget.cxx | |
parent | d54e7a68885e43c53a8929a57b50b34b2be03d2d (diff) | |
download | CMake-852ad56a6ca95cc1de5380a2206241c45f60183a.zip CMake-852ad56a6ca95cc1de5380a2206241c45f60183a.tar.gz CMake-852ad56a6ca95cc1de5380a2206241c45f60183a.tar.bz2 |
Attempt to fix SGI ccmake problem (thank you Clint Miller)
Diffstat (limited to 'Source/CursesDialog/cmCursesStringWidget.cxx')
-rw-r--r-- | Source/CursesDialog/cmCursesStringWidget.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CursesDialog/cmCursesStringWidget.cxx b/Source/CursesDialog/cmCursesStringWidget.cxx index 2654998..31ed312 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; } |