mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
Re-enabled skip specials logic in Directory.
This commit is contained in:
parent
8e49115f09
commit
bfec926e60
@ -69,11 +69,9 @@ bool Directory::next() {
|
||||
tinydir_next(&_dir);
|
||||
}
|
||||
|
||||
// if (_skip_specials && current_is_dir() && current_is_special_dir()) {
|
||||
// return next();
|
||||
// }
|
||||
|
||||
// tinydir_next(&_dir);
|
||||
if (_skip_specials && current_is_dir() && current_is_special_dir()) {
|
||||
return next();
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -31,10 +31,6 @@ void PagedArticles::load() {
|
||||
|
||||
while (dir->next()) {
|
||||
if (dir->current_is_dir()) {
|
||||
if (dir->current_is_special_dir()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
String np = dir->current_get_path();
|
||||
String fn = dir->current_get_name();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user