mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
fixing bustage
This commit is contained in:
parent
f56106d36a
commit
cb925c9f7d
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user