Adding xpcom.currentProcess

git-svn-id: svn://10.0.0.236/trunk@67004 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dougt%netscape.com
2000-04-24 22:54:04 +00:00
parent 61ae45d738
commit f8f6b08b0c

View File

@@ -429,7 +429,11 @@ nsDirectoryService::GetFile(const char *prop, PRBool *persistant, nsIFile **_ret
// check to see if it is one of our defaults
if (strncmp(prop, "xpcom.currentProcess.componentRegistry", 38) == 0)
if (strncmp(prop, "xpcom.currentProcess", 38) == 0)
{
rv = GetCurrentProcessDirectory(getter_AddRefs(localFile));
}
else if (strncmp(prop, "xpcom.currentProcess.componentRegistry", 38) == 0)
{
rv = GetCurrentProcessDirectory(getter_AddRefs(localFile));
if (NS_FAILED(rv)) return rv;