summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/cmCursesBoolWidget.cxx
diff options
context:
space:
mode:
authorBerk Geveci <berk.geveci@kitware.com>2001-11-06 03:10:52 (GMT)
committerBerk Geveci <berk.geveci@kitware.com>2001-11-06 03:10:52 (GMT)
commit4848c81428b8b8218eb86f23451ff32d78c039cd (patch)
tree33efacbfbe9d519bf62302fffbd06e49d7668c88 /Source/CursesDialog/cmCursesBoolWidget.cxx
parent1a8e3ba1e666da622e6f9eb8bcf87ebc707eaaf6 (diff)
downloadCMake-4848c81428b8b8218eb86f23451ff32d78c039cd.zip
CMake-4848c81428b8b8218eb86f23451ff32d78c039cd.tar.gz
CMake-4848c81428b8b8218eb86f23451ff32d78c039cd.tar.bz2
Many improvements.
Diffstat (limited to 'Source/CursesDialog/cmCursesBoolWidget.cxx')
-rw-r--r--Source/CursesDialog/cmCursesBoolWidget.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CursesDialog/cmCursesBoolWidget.cxx b/Source/CursesDialog/cmCursesBoolWidget.cxx
index 4057a3f..9d54b54 100644
--- a/Source/CursesDialog/cmCursesBoolWidget.cxx
+++ b/Source/CursesDialog/cmCursesBoolWidget.cxx
@@ -14,7 +14,7 @@ cmCursesBoolWidget::cmCursesBoolWidget(int width, int height,
bool cmCursesBoolWidget::HandleInput(int& key, FORM* form, WINDOW* w)
{
// 10 == enter
- if (key == 10)
+ if (key == 10 || key == KEY_ENTER)
{
if (this->GetValueAsBool())
{