From c9ab746f55132aaa5eee39a0b4e5d216d8570adb Mon Sep 17 00:00:00 2001 From: "jshin%mailaps.org" Date: Fri, 23 Jul 2004 01:38:01 +0000 Subject: [PATCH] fix bustage git-svn-id: svn://10.0.0.236/trunk@159706 18797224-902f-48f8-a5cc-f745e15eee43 --- .../browser/components/shell/src/nsWindowsShellService.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/browser/components/shell/src/nsWindowsShellService.cpp b/mozilla/browser/components/shell/src/nsWindowsShellService.cpp index fafb3be6de6..1fcf8708d02 100644 --- a/mozilla/browser/components/shell/src/nsWindowsShellService.cpp +++ b/mozilla/browser/components/shell/src/nsWindowsShellService.cpp @@ -375,7 +375,7 @@ nsWindowsShellService::SetDefaultBrowser(PRBool aClaimAllTypes, PRBool aForAllUs nsCAutoString nativeFullName; // For now, we use 'A' APIs (see bug 240272, 239279) NS_CopyUnicodeToNative(brandFullName, nativeFullName); - SetRegKey(key1.get(), "", nativeFullName.get(), PR_TRUE, backupKey, aClaimAllTypes); + SetRegKey(key1.get(), "", nativeFullName.get(), PR_TRUE, backupKey, aClaimAllTypes, aForAllUsers); // Set the Options menu item title nsXPIDLString brandShortName; @@ -394,7 +394,7 @@ nsWindowsShellService::SetDefaultBrowser(PRBool aClaimAllTypes, PRBool aForAllUs // For now, we use 'A' APIs (see bug 240272, 239279) NS_CopyUnicodeToNative(optionsTitle, nativeTitle); - SetRegKey(key2.get(), "", nativeTitle.get(), PR_TRUE, backupKey, aClaimAllTypes); + SetRegKey(key2.get(), "", nativeTitle.get(), PR_TRUE, backupKey, aClaimAllTypes, aForAllUsers); // Refresh the Shell ::SendMessageTimeout(HWND_BROADCAST, WM_SETTINGCHANGE, NULL,