diff options
Diffstat (limited to 'plugingui')
-rw-r--r-- | plugingui/directory.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugingui/directory.cc b/plugingui/directory.cc index 141d944..ce695dc 100644 --- a/plugingui/directory.cc +++ b/plugingui/directory.cc @@ -322,9 +322,9 @@ bool Directory::isHidden(std::string path) #ifdef WIN32 DWORD fattribs = GetFileAttributes(path.c_str()); if(fattribs & FILE_ATTRIBUTE_HIDDEN) { - return false; + return true; } - return true; + return false; #else unsigned pos = path.find_last_of("/\\"); std::string entry = path.substr(pos+1); |