mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-02 04:02:23 +03:00
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
This commit is contained in:
1 parent
033728e867
commit
aa68ce6bd4
1 file changed
+1
-1
@@ -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 =
|
||||
|
||||
Reference in new issue
Block a user