diff options
author | Matthew Woehlke <matthew.woehlke@kitware.com> | 2020-04-23 19:52:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-04-24 13:37:01 (GMT) |
commit | f56a6954408343f8efe24876067b52415228aaba (patch) | |
tree | 37ad21682ad1815e5409be06945d5c829f251794 /Source/CursesDialog/cmCursesOptionsWidget.cxx | |
parent | df2d39bc512bd09ae808e8a2a6c7523737bb26c0 (diff) | |
download | CMake-f56a6954408343f8efe24876067b52415228aaba.zip CMake-f56a6954408343f8efe24876067b52415228aaba.tar.gz CMake-f56a6954408343f8efe24876067b52415228aaba.tar.bz2 |
ccmake: Rename cmCursesColor::{Options => Choice}
Rename the internal name for the color applied to multiple-choice
options to avoid use of the overloaded term 'option'.
Diffstat (limited to 'Source/CursesDialog/cmCursesOptionsWidget.cxx')
-rw-r--r-- | Source/CursesDialog/cmCursesOptionsWidget.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CursesDialog/cmCursesOptionsWidget.cxx b/Source/CursesDialog/cmCursesOptionsWidget.cxx index a15241f..8df32e2 100644 --- a/Source/CursesDialog/cmCursesOptionsWidget.cxx +++ b/Source/CursesDialog/cmCursesOptionsWidget.cxx @@ -17,8 +17,8 @@ cmCursesOptionsWidget::cmCursesOptionsWidget(int width, int height, int left, // the widget into a string widget at some point. BOOL is safe for // now. if (cmCursesColor::HasColors()) { - set_field_fore(this->Field, COLOR_PAIR(cmCursesColor::Options)); - set_field_back(this->Field, COLOR_PAIR(cmCursesColor::Options)); + set_field_fore(this->Field, COLOR_PAIR(cmCursesColor::Choice)); + set_field_back(this->Field, COLOR_PAIR(cmCursesColor::Choice)); } else { set_field_fore(this->Field, A_NORMAL); set_field_back(this->Field, A_STANDOUT); |