fixing bustage
git-svn-id: svn://10.0.0.236/trunk@169525 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -285,7 +285,7 @@ nsLocalFile::InitWithNativePath(const nsACString &filePath)
|
||||
|
||||
mPath = homePath + Substring(filePath, 1, filePath.Length() - 1);
|
||||
} else {
|
||||
if (filePath.IsEmpty() || filePath.First() != '/') {
|
||||
if (filePath.IsEmpty() || filePath.First() != '/')
|
||||
return NS_ERROR_FILE_UNRECOGNIZED_PATH;
|
||||
mPath = filePath;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user