diff options
author | louis <louis.braun@gmx.de> | 2016-04-16 11:34:00 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2016-04-16 11:34:00 +0200 |
commit | 6004cf72fc1014bc64952e78f43a066cf25a4e6e (patch) | |
tree | 0aa8df1b71547011ab7954f8acb4739909605d78 | |
parent | 5589e956e0ef2d64fb98eec7dbf645127c05f930 (diff) | |
download | vdr-plugin-skindesigner-6004cf72fc1014bc64952e78f43a066cf25a4e6e.tar.gz vdr-plugin-skindesigner-6004cf72fc1014bc64952e78f43a066cf25a4e6e.tar.bz2 |
fixed reading of skins for xfs filesystems again
-rw-r--r-- | config.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -102,7 +102,9 @@ void cDesignerConfig::ReadSkinFolder(cString &skinFolder, vector<string> *contai string dirEntryName = dirEntry->d_name; int dirEntryType = dirEntry->d_type; cString subfolder = cString::sprintf("%s%s", *skinFolder, dirEntryName.c_str()); - if (!dirEntryName.compare(".") || !dirEntryName.compare("..") || !dirEntryName.compare("skinrepositories") || (dirEntryType != DT_DIR && dirEntryType != DT_LNK) || !DirectoryOk(*subfolder, false)) + if (!dirEntryName.compare(".") || !dirEntryName.compare("..") || !dirEntryName.compare("skinrepositories")) + continue; + if (dirEntryType != DT_DIR && dirEntryType != DT_LNK && !DirectoryOk(*subfolder, false)) continue; container->push_back(dirEntryName); } |