summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-11-13 19:31:13 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-11-13 19:31:13 (GMT)
commit8f47c8bed1aa1c0eb0130f0f2d2b64f5c14aa53f (patch)
tree9500a828739436a910f8c94574a53727f05be7e4 /Source
parentcf4bce546123969547e727cf160947d2314914d2 (diff)
parentd424de48dc3e653c5b15138d1b5e58b948b48945 (diff)
downloadCMake-8f47c8bed1aa1c0eb0130f0f2d2b64f5c14aa53f.zip
CMake-8f47c8bed1aa1c0eb0130f0f2d2b64f5c14aa53f.tar.gz
CMake-8f47c8bed1aa1c0eb0130f0f2d2b64f5c14aa53f.tar.bz2
Merge topic 'fix-13604-ccmake-del-key'
d424de4 ccmake: Allow DEL key in first column
Diffstat (limited to 'Source')
-rw-r--r--Source/CursesDialog/cmCursesStringWidget.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CursesDialog/cmCursesStringWidget.cxx b/Source/CursesDialog/cmCursesStringWidget.cxx
index 5c7414f..bd1ff71 100644
--- a/Source/CursesDialog/cmCursesStringWidget.cxx
+++ b/Source/CursesDialog/cmCursesStringWidget.cxx
@@ -175,7 +175,7 @@ bool cmCursesStringWidget::HandleInput(int& key, cmCursesMainForm* fm,
}
else if ( key == ctrl('d') ||key == KEY_DC )
{
- if ( form->curcol > 0 )
+ if ( form->curcol >= 0 )
{
form_driver(form, REQ_DEL_CHAR);
}