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); }