Commit 4aff5a0f authored by Brad King's avatar Brad King Committed by Kitware Robot

Merge topic 'ccmake-crash-on-empty-strings-property'

154c5f79 ccmake: handle cache entries with empty STRINGS property
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !3678
parents 6cf8883a 154c5f79
Pipeline #144254 passed with stage
in 0 seconds
......@@ -23,6 +23,9 @@ cmCursesOptionsWidget::cmCursesOptionsWidget(int width, int height, int left,
bool cmCursesOptionsWidget::HandleInput(int& key, cmCursesMainForm* /*fm*/,
WINDOW* w)
{
if (this->Options.empty()) {
return false;
}
switch (key) {
case 10: // 10 == enter
case KEY_ENTER:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment