summaryrefslogtreecommitdiffstats
path: root/Source/MFCDialog
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2003-08-01 12:47:26 (GMT)
committerKen Martin <ken.martin@kitware.com>2003-08-01 12:47:26 (GMT)
commitad4dc3e0ef07b7dd38509b22a5742d737486730d (patch)
tree192325b3d3bca7205cc18cf69cfcd981a8174243 /Source/MFCDialog
parent6e494f9bce9742b022a11aacde07b11bd4cfd64a (diff)
downloadCMake-ad4dc3e0ef07b7dd38509b22a5742d737486730d.zip
CMake-ad4dc3e0ef07b7dd38509b22a5742d737486730d.tar.gz
CMake-ad4dc3e0ef07b7dd38509b22a5742d737486730d.tar.bz2
more reverting back
Diffstat (limited to 'Source/MFCDialog')
-rw-r--r--Source/MFCDialog/CMakeSetupDialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/MFCDialog/CMakeSetupDialog.cpp b/Source/MFCDialog/CMakeSetupDialog.cpp
index 1be0f86..524f2e4 100644
--- a/Source/MFCDialog/CMakeSetupDialog.cpp
+++ b/Source/MFCDialog/CMakeSetupDialog.cpp
@@ -750,7 +750,7 @@ void CMakeSetupDialog::OnChangeWhereBuild()
cachem->LoadCache(path.c_str()) &&
it.Find("CMAKE_HOME_DIRECTORY"))
{
- path = cmSystemTools::ConvertToOutputPath(it.GetValue());
+ path = ConvertToWindowsPath(it.GetValue());
this->m_WhereSource = path.c_str();
this->m_WhereSourceControl.SetWindowText(this->m_WhereSource);
this->OnChangeWhereSource();
@@ -1417,10 +1417,10 @@ void CMakeSetupDialog::ChangeDirectoriesFromFile(const char* arg)
cmCacheManager::CacheIterator it = cachem->NewIterator();
if(cachem->LoadCache(cachePath.c_str()) && it.Find("CMAKE_HOME_DIRECTORY"))
{
- std::string path = cmSystemTools::ConvertToOutputPath(cachePath.c_str());
+ std::string path = ConvertToWindowsPath(cachePath.c_str());
m_WhereBuild = path.c_str();
- path = cmSystemTools::ConvertToOutputPath(it.GetValue());
+ path = ConvertToWindowsPath(it.GetValue());
m_WhereSource = path.c_str();
return;
}