From 6dd72b0e175e27c261ff887e1f760649d8665136 Mon Sep 17 00:00:00 2001 From: "gwilson@google.com" Date: Fri, 30 Jan 2009 02:56:15 +0000 Subject: Modifies LaunchSetupWithParam to properly append the kInstallerDir and kSetupExe constants to the executable path. Review URL: http://codereview.chromium.org/19493 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8949 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/first_run.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/browser/first_run.cc') diff --git a/chrome/browser/first_run.cc b/chrome/browser/first_run.cc index ec747a2..da69a35 100755 --- a/chrome/browser/first_run.cc +++ b/chrome/browser/first_run.cc @@ -119,8 +119,8 @@ bool LaunchSetupWithParam(const std::wstring& param, int* ret_code) { FilePath exe_path; if (!PathService::Get(base::DIR_MODULE, &exe_path)) return false; - exe_path.Append(installer_util::kInstallerDir); - exe_path.Append(installer_util::kSetupExe); + exe_path = exe_path.Append(installer_util::kInstallerDir); + exe_path = exe_path.Append(installer_util::kSetupExe); base::ProcessHandle ph; CommandLine cl(exe_path.ToWStringHack()); cl.AppendSwitch(param); -- cgit v1.1