So much for that last touchup between building and committing...
git-svn-id: svn://10.0.0.236/trunk@30163 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -461,7 +461,7 @@ nsFileURL::nsFileURL(const char* inString, PRBool inCreateDirs)
|
||||
// inString is escaped. We want to make an nsFilePath, which requires
|
||||
// an unescaped string.
|
||||
nsSimpleCharString unescapedPath(inString + kFileURLPrefixLength);
|
||||
unescapedPath.Unescape()
|
||||
unescapedPath.Unescape();
|
||||
nsFilePath path(unescapedPath, inCreateDirs);
|
||||
*this = path;
|
||||
} // nsFileURL::nsFileURL
|
||||
@@ -481,7 +481,7 @@ nsFileURL::nsFileURL(const nsString& inString, PRBool inCreateDirs)
|
||||
// inString is escaped. We want to make an nsFilePath, which requires
|
||||
// an unescaped string.
|
||||
nsSimpleCharString unescapedPath(aCString + kFileURLPrefixLength);
|
||||
unescapedPath.Unescape()
|
||||
unescapedPath.Unescape();
|
||||
nsFilePath path(unescapedPath, inCreateDirs);
|
||||
*this = path;
|
||||
} // nsFileURL::nsFileURL
|
||||
|
||||
Reference in New Issue
Block a user