diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/bftw.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -862,7 +862,7 @@ static bool bftw_pop_dir(struct bftw_state *state) { if (state->flags & BFTW_SORT) { // Keep strict breadth-first order when sorting - if (state->strategy != BFTW_DFS && have_files) { + if (state->strategy == BFTW_BFS && have_files) { return false; } } else { |