Attempting to fix osX bustage.
git-svn-id: svn://10.0.0.236/trunk@136456 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -270,8 +270,12 @@ char*
|
||||
nsGREDirServiceProvider::GetXPCOMPath()
|
||||
{
|
||||
char* grePath = GetGREDirectoryPath();
|
||||
if (!grePath)
|
||||
return nsnull;
|
||||
if (!grePath) {
|
||||
grePath = PR_GetEnv(MOZILLA_FIVE_HOME);
|
||||
if (!grePath) {
|
||||
return nsnull;
|
||||
}
|
||||
}
|
||||
|
||||
int len = strlen(grePath);
|
||||
char* xpcomPath = (char*) malloc(len + sizeof(XPCOM_DLL) + sizeof(XPCOM_FILE_PATH_SEPARATOR) + 1);
|
||||
|
||||
Reference in New Issue
Block a user