зеркало из https://github.com/mozilla/gecko-dev.git
fix nsILocalFile relative descs calculation of relative path, r=sspitzer, sr=mscott required for 137006
This commit is contained in:
Родитель
f84c038aa3
Коммит
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;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче