From 7ab978668db3b6d9183749656bc5256a49765380 Mon Sep 17 00:00:00 2001 From: "scc%mozilla.org" Date: Fri, 29 Jun 2001 17:39:25 +0000 Subject: [PATCH] fixing ports bustage git-svn-id: svn://10.0.0.236/trunk@98291 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/io/nsLocalFileUnix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/xpcom/io/nsLocalFileUnix.cpp b/mozilla/xpcom/io/nsLocalFileUnix.cpp index 14df24c30d6..39f24091d8e 100644 --- a/mozilla/xpcom/io/nsLocalFileUnix.cpp +++ b/mozilla/xpcom/io/nsLocalFileUnix.cpp @@ -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; }