This commit is contained in:
scc%mozilla.org 2001-06-29 17:39:25 +00:00
Родитель c864c6f5f9
Коммит a5e83cef5a
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1216,7 +1216,7 @@ nsLocalFile::Contains(nsIFile *inFile, PRBool recur, PRBool *_retval)
if (FILE_STRNCMP(mPath, inPath, len) == 0) {
// Now make sure that the |inFile|'s path has a separator at len,
// which implies that it has more components after len.
if (inPath[len] == '/')
if (inPath.get()[len] == '/')
*_retval = PR_TRUE;
}