summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Suhr Christensen <jsc@umbraculum.org>2014-09-23 18:30:20 +0200
committerJonas Suhr Christensen <jsc@umbraculum.org>2014-09-23 18:30:20 +0200
commit28947d69c2babe1e2eb347ed01d0928ed05eac2d (patch)
treee712cbd1bfbd8427b429ce04b5a419780b2cb50d
parent5a81864b7f9b2c205d779b74ddb2e25d0df75f3e (diff)
Testing file attribute filter on windows XP.
-rw-r--r--plugingui/directory.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugingui/directory.cc b/plugingui/directory.cc
index ff0fa05..1465c86 100644
--- a/plugingui/directory.cc
+++ b/plugingui/directory.cc
@@ -332,6 +332,10 @@ bool Directory::isHidden(std::string path)
DEBUG(directory, "\t...yes!\n");
return true;
}
+ else if(fattribs & FILE_ATTRIBUTE_SYSTEM) {
+ DEBUG(directory, "\t...yes!\n");
+ return true;
+ }
else {
DEBUG(directory, "\t...no!\n");
return false;