mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2025-05-06 17:51:36 +02: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);
|
tinydir_next(&_dir);
|
||||||
}
|
}
|
||||||
|
|
||||||
// if (_skip_specials && current_is_dir() && current_is_special_dir()) {
|
if (_skip_specials && current_is_dir() && current_is_special_dir()) {
|
||||||
// return next();
|
return next();
|
||||||
// }
|
}
|
||||||
|
|
||||||
// tinydir_next(&_dir);
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -31,10 +31,6 @@ void PagedArticles::load() {
|
|||||||
|
|
||||||
while (dir->next()) {
|
while (dir->next()) {
|
||||||
if (dir->current_is_dir()) {
|
if (dir->current_is_dir()) {
|
||||||
if (dir->current_is_special_dir()) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
String np = dir->current_get_path();
|
String np = dir->current_get_path();
|
||||||
String fn = dir->current_get_name();
|
String fn = dir->current_get_name();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user