mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 21:28:55 +00:00
fix nsILocalFile relative descs calculation of relative path, r=sspitzer, sr=mscott required for 137006
This commit is contained in:
parent
f84c038aa3
commit
c730b9ee45
@ -190,7 +190,7 @@ nsLocalFile::GetRelativeDescriptor(nsILocalFile *fromFile, nsACString& _retval)
|
||||
return NS_ERROR_FAILURE;
|
||||
|
||||
for (nodeIndex = 0; nodeIndex < thisNodeCnt && nodeIndex < fromNodeCnt; nodeIndex++) {
|
||||
if (!nsCRT::strcmp(thisNodes[nodeIndex], fromNodes[nodeIndex]))
|
||||
if (nsCRT::strcmp(thisNodes[nodeIndex], fromNodes[nodeIndex]))
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user