Merge topic 'fix-13604-ccmake-del-key'

d424de4 ccmake: Allow DEL key in first column
This commit is contained in:
Brad King 2012-11-13 14:31:13 -05:00 committed by CMake Topic Stage
commit 8f47c8bed1

View File

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