mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
Find file: fix directory search order to be depth-first again.
This matches the pre-glib implementation, and is way more natural. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
8710d2522f
commit
bb782ad8ef
@ -873,7 +873,7 @@ push_directory (vfs_path_t * dir)
|
||||
static inline vfs_path_t *
|
||||
pop_directory (void)
|
||||
{
|
||||
return (vfs_path_t *) g_queue_pop_tail (&dir_queue);
|
||||
return (vfs_path_t *) g_queue_pop_head (&dir_queue);
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------------------------- */
|
||||
|
Loading…
Reference in New Issue
Block a user