diff options
author | Jonas Suhr Christensen <jsc@umbraculum.org> | 2014-09-23 18:09:52 +0200 |
---|---|---|
committer | Jonas Suhr Christensen <jsc@umbraculum.org> | 2014-09-23 18:09:52 +0200 |
commit | 690c230a3add27a5cb552f89ee40705b7965b2af (patch) | |
tree | 1491c99abb535be3ef3edc9980fcd183165f7bd3 | |
parent | c71c82e1c86c811920a31916324cd6af263517f9 (diff) |
Testing file attribute filter on windows XP.
-rw-r--r-- | plugingui/directory.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugingui/directory.cc b/plugingui/directory.cc index a94b0b4..5a2c7a1 100644 --- a/plugingui/directory.cc +++ b/plugingui/directory.cc @@ -181,8 +181,8 @@ Directory::EntryList Directory::listFiles(std::string path, unsigned char filter #ifdef WIN32 - DEBUG(directory, "root is %s\n", Directory::root(path).c_str()); - DEBUG(directory, "current path %s is root? %d", path.c_str(), Directory::isRoot(path)); + DEBUG(directory, "Root is %s\n", Directory::root(path).c_str()); + DEBUG(directory, "Current path %s is root? %d", path.c_str(), Directory::isRoot(path)); if(Directory::isRoot(path)) entries.push_back(".."); #endif @@ -289,7 +289,7 @@ bool Directory::isDir() bool Directory::isDir(std::string path) { - DEBUG(directory, "Is '%s' dir?\n", path.c_str()); + DEBUG(directory, "Is '%s' a directory?\n", path.c_str()); struct stat st; if(stat(path.c_str(), &st) == 0) { if((st.st_mode & S_IFDIR) != 0) { |