From 30ec336bcb9e0b860710c1fee016cffd4e2d60de Mon Sep 17 00:00:00 2001 From: "pavlov%netscape.com" Date: Tue, 24 Aug 1999 18:32:06 +0000 Subject: [PATCH] isHidden was returning backwards results git-svn-id: svn://10.0.0.236/trunk@44309 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/io/nsFileSpecUnix.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/xpcom/io/nsFileSpecUnix.cpp b/mozilla/xpcom/io/nsFileSpecUnix.cpp index c03a9e5f926..3c3cfde5020 100644 --- a/mozilla/xpcom/io/nsFileSpecUnix.cpp +++ b/mozilla/xpcom/io/nsFileSpecUnix.cpp @@ -187,13 +187,13 @@ PRBool nsFileSpec::IsDirectory() const PRBool nsFileSpec::IsHidden() const //---------------------------------------------------------------------------------------- { - PRBool hidden = PR_TRUE; + PRBool hidden = PR_FALSE; char *leafname = GetLeafName(); if (nsnull != leafname) { if ((!strcmp(leafname, ".")) || (!strcmp(leafname, ".."))) { - hidden = PR_FALSE; + hidden = PR_TRUE; } nsCRT::free(leafname); }