diff options
author | Felix Schwitzer <flx107809@gmail.com> | 2019-03-03 17:37:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-03-04 14:12:41 (GMT) |
commit | aa68ce6bd43356fb5ebb77a3e9eadd3bbef5bed9 (patch) | |
tree | d13b93acd61652fdc0642d7588117568abf2ead3 /Source/CursesDialog/cmCursesMainForm.cxx | |
parent | 033728e86780d61215ebcab442d9a130bdd0461c (diff) | |
download | CMake-aa68ce6bd43356fb5ebb77a3e9eadd3bbef5bed9.zip CMake-aa68ce6bd43356fb5ebb77a3e9eadd3bbef5bed9.tar.gz CMake-aa68ce6bd43356fb5ebb77a3e9eadd3bbef5bed9.tar.bz2 |
ccmake: fix curses dialog broken by refactoring
During refactoring in commit f6291eee25 (cmCursesMainForm: Modernize
with STL and ranged-for loops, 2019-02-10) a transformation of a loop
went wrong and editing the cmake cache with ccmake no longer works.
Make ccmake work again.
Fixes: #19008
Diffstat (limited to 'Source/CursesDialog/cmCursesMainForm.cxx')
-rw-r--r-- | Source/CursesDialog/cmCursesMainForm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CursesDialog/cmCursesMainForm.cxx b/Source/CursesDialog/cmCursesMainForm.cxx index 906dd02..028e852 100644 --- a/Source/CursesDialog/cmCursesMainForm.cxx +++ b/Source/CursesDialog/cmCursesMainForm.cxx @@ -669,7 +669,7 @@ void cmCursesMainForm::FillCacheManagerFromUI() this->CMakeInstance->GetState()->GetCacheEntryValue(cacheKey); if (existingValue) { std::string oldValue = existingValue; - std::string newValue = entry->GetValue(); + std::string newValue = entry->Entry->GetValue(); std::string fixedOldValue; std::string fixedNewValue; cmStateEnums::CacheEntryType t = |