diff options
author | kuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-06 19:06:11 +0000 |
---|---|---|
committer | kuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-06 19:06:11 +0000 |
commit | a80d6171f33972240da6935c8d80da55e75aff9e (patch) | |
tree | 3ecf578558854a7ba9f7a70b2a50334af137627e /chrome/app/google_update_client.cc | |
parent | 24a0e7166342a8fbaf8ec92226ab4214cd110127 (diff) | |
download | chromium_src-a80d6171f33972240da6935c8d80da55e75aff9e.zip chromium_src-a80d6171f33972240da6935c8d80da55e75aff9e.tar.gz chromium_src-a80d6171f33972240da6935c8d80da55e75aff9e.tar.bz2 |
Fix Chrome do not launch problem.
Review URL: http://codereview.chromium.org/9650
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4900 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/google_update_client.cc')
-rwxr-xr-x | chrome/app/google_update_client.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/app/google_update_client.cc b/chrome/app/google_update_client.cc index 046c560f..aa12dad 100755 --- a/chrome/app/google_update_client.cc +++ b/chrome/app/google_update_client.cc @@ -81,7 +81,8 @@ bool GoogleUpdateClient::Launch(HINSTANCE instance, ::GetProcAddress(dll_handle, entry_name)); if (NULL != entry) { // record did_run "dr" in client state - std::wstring key_path = google_update::kRegPathClientState + guid_; + std::wstring key_path(google_update::kRegPathClientState); + key_path.append(L"\\" + guid_); HKEY reg_key; if (::RegOpenKeyEx(HKEY_CURRENT_USER, key_path.c_str(), 0, KEY_WRITE, ®_key) == ERROR_SUCCESS) { @@ -116,6 +117,7 @@ bool GoogleUpdateClient::Init(const wchar_t* client_guid, ret = true; } else { std::wstring key(google_update::kRegPathClients); + key.append(L"\\"); key.append(guid_); if (client_util::GetChromiumVersion(dll_path_, key.c_str(), &version_)) ret = true; |