зеркало из https://github.com/mozilla/gecko-dev.git
Fix bustage; remove test for stack-based nsFileSpec.
This commit is contained in:
Родитель
38d3d3320a
Коммит
26f731cf9c
|
@ -219,15 +219,14 @@ static void GetProfileDefaultsFolder(nsFileSpec& outSpec)
|
|||
nsFileSpec cwd;
|
||||
GetDefaultsFolder(cwd);
|
||||
|
||||
if(cwd) {
|
||||
#if defined(XP_MAC)
|
||||
cwd += "Profile";
|
||||
cwd += "Profile";
|
||||
#else
|
||||
cwd += "profile";
|
||||
cwd += "profile";
|
||||
#endif
|
||||
|
||||
outSpec = cwd;
|
||||
}
|
||||
outSpec = cwd;
|
||||
|
||||
} // GetProfileDefaultsFolder
|
||||
|
||||
//----------------------------------------------------------------------------------------
|
||||
|
@ -237,19 +236,16 @@ static void GetPrefDefaultsFolder(nsFileSpec& outSpec)
|
|||
nsFileSpec cwd;
|
||||
GetDefaultsFolder(cwd);
|
||||
|
||||
if(cwd) {
|
||||
#if defined(XP_MAC)
|
||||
cwd += "Pref";
|
||||
cwd += "Pref";
|
||||
#else
|
||||
cwd += "pref";
|
||||
cwd += "pref";
|
||||
#endif
|
||||
|
||||
outSpec = cwd;
|
||||
}
|
||||
outSpec = cwd;
|
||||
} // GetProfileDefaultsFolder
|
||||
|
||||
|
||||
|
||||
//========================================================================================
|
||||
// Implementation of nsSpecialFileSpec
|
||||
//========================================================================================
|
||||
|
|
Загрузка…
Ссылка в новой задаче