diff options
Diffstat (limited to 'src/patches/iceweasel-branding/Use-firefox-instead-of-MOZ_APP_NAME-for-profile.patch')
-rw-r--r-- | src/patches/iceweasel-branding/Use-firefox-instead-of-MOZ_APP_NAME-for-profile.patch | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/patches/iceweasel-branding/Use-firefox-instead-of-MOZ_APP_NAME-for-profile.patch b/src/patches/iceweasel-branding/Use-firefox-instead-of-MOZ_APP_NAME-for-profile.patch index 07050b9..2f40aff 100644 --- a/src/patches/iceweasel-branding/Use-firefox-instead-of-MOZ_APP_NAME-for-profile.patch +++ b/src/patches/iceweasel-branding/Use-firefox-instead-of-MOZ_APP_NAME-for-profile.patch @@ -21,15 +21,15 @@ index 52c35c7..af2c0cf 100644 var ResetProfile = { diff --git a/toolkit/xre/nsAppRunner.cpp b/toolkit/xre/nsAppRunner.cpp -index fe63faa..66ca008 100644 +index 9c7cb46079..a6299593a1 100644 --- a/toolkit/xre/nsAppRunner.cpp +++ b/toolkit/xre/nsAppRunner.cpp -@@ -4349,7 +4349,7 @@ nsresult XREMain::XRE_mainRun() { - if (gDoProfileReset) { - // Automatically migrate from the current application if we just - // reset the profile. -- aKey = MOZ_APP_NAME; -+ aKey = "firefox"; - gResetOldProfile->GetName(aName); - } - pm->Migrate(&mDirProvider, aKey, aName); +@@ -4879,7 +4879,7 @@ nsresult XREMain::XRE_mainRun() { + if (gDoProfileReset) { + // Automatically migrate from the current application if we just + // reset the profile. +- aKey = MOZ_APP_NAME; ++ aKey = "firefox"; + gResetOldProfile->GetName(aName); + } + pm->Migrate(&mDirProvider, aKey, aName); |