From 743eed068cbd81747cac0184e7c4a43ce8aab8c3 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 4 Aug 2004 10:00:39 -0400 Subject: BUG: Fixed typo in name of MSVC 8 registry key. --- Source/MFCDialog/CMakeSetupDialog.cpp | 2 +- Source/cmake.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/MFCDialog/CMakeSetupDialog.cpp b/Source/MFCDialog/CMakeSetupDialog.cpp index 2de0e9f..5460406 100644 --- a/Source/MFCDialog/CMakeSetupDialog.cpp +++ b/Source/MFCDialog/CMakeSetupDialog.cpp @@ -322,7 +322,7 @@ BOOL CMakeSetupDialog::OnInitDialog() { // check for vs7 in registry then decide what default to use std::string mp; - mp = "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\8.0\\Setup;Dbghelp_path"; + mp = "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\8.0\\Setup;Dbghelp_path]"; cmSystemTools::ExpandRegistryValues(mp); if(mp != "/registry") { diff --git a/Source/cmake.cxx b/Source/cmake.cxx index de6aebf..0aca69f 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -1033,7 +1033,7 @@ int cmake::Configure() this->SetGlobalGenerator(new cmGlobalBorlandMakefileGenerator); #elif defined(_WIN32) && !defined(__CYGWIN__) std::string installedCompiler; - std::string mp = "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\8.0\\Setup;Dbghelp_path"; + std::string mp = "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\8.0\\Setup;Dbghelp_path]"; cmSystemTools::ExpandRegistryValues(mp); if (!(mp == "/registry")) { -- cgit v0.12