Fixes nsURI2Path.

git-svn-id: svn://10.0.0.236/trunk@25984 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
putterman%netscape.com
1999-04-02 01:52:01 +00:00
parent b65f92a67b
commit d1a2dd4e7d

View File

@@ -1465,7 +1465,7 @@ nsURI2Path(const char* rootURI, const char* uriStr, nsFileSpec& pathResult)
rv = nsGetMailboxRoot(root);
if (NS_FAILED(rv)) return rv;
nsAutoString path((nsFilePath)root);
nsAutoString path((root));
uri.Cut(0, nsCRT::strlen(rootURI));
PRInt32 uriLen = uri.Length();