From ded75edacd9a79ab794de9f4e6bcbdd5ca814420 Mon Sep 17 00:00:00 2001 From: "cbiesinger%web.de" Date: Sun, 20 Feb 2005 14:28:07 +0000 Subject: [PATCH] fixing bustage git-svn-id: svn://10.0.0.236/trunk@169525 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 33dcf3c531e..b61de7fb564 100644 --- a/mozilla/xpcom/io/nsLocalFileUnix.cpp +++ b/mozilla/xpcom/io/nsLocalFileUnix.cpp @@ -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; }