1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 02:08:27 +08:00

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

154c5f7949 ccmake: handle cache entries with empty STRINGS property

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3678
This commit is contained in:
Brad King
2019-08-20 12:57:28 +00:00
committed by Kitware Robot

View File

@@ -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: