mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
fixed reading of skins for xfs filesystems again
This commit is contained in:
parent
5589e956e0
commit
6004cf72fc
4
config.c
4
config.c
@ -102,7 +102,9 @@ void cDesignerConfig::ReadSkinFolder(cString &skinFolder, vector<string> *contai
|
|||||||
string dirEntryName = dirEntry->d_name;
|
string dirEntryName = dirEntry->d_name;
|
||||||
int dirEntryType = dirEntry->d_type;
|
int dirEntryType = dirEntry->d_type;
|
||||||
cString subfolder = cString::sprintf("%s%s", *skinFolder, dirEntryName.c_str());
|
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;
|
continue;
|
||||||
container->push_back(dirEntryName);
|
container->push_back(dirEntryName);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user