r=dougt, Conrad Carlen
a=dougt, Conrad Carlen

Use Moz_BinDirectory instead of OS_CurrentProcessDirectory
to allow embedding apps to use mozilla.
This commit is contained in:
edburns%acm.org 2000-07-22 00:54:07 +00:00
Родитель bde3bda0cb
Коммит deeefe08ac
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -299,8 +299,8 @@ static void GetDefaultUserProfileRoot(nsFileSpec& outSpec)
cwd.CreateDir(); cwd.CreateDir();
#elif defined(XP_PC) #elif defined(XP_PC)
// set its directory an aunt of the executable. // set its directory an aunt of the moz bin directory
nsSpecialSystemDirectory cwd(nsSpecialSystemDirectory::OS_CurrentProcessDirectory); nsSpecialSystemDirectory cwd(nsSpecialSystemDirectory::Moz_BinDirectory);
// Users50 directory is kept 1 level above the executable directory. // Users50 directory is kept 1 level above the executable directory.
cwd.GetParent(cwd); cwd.GetParent(cwd);