Re: [PATCH] fix directory search order to be depth-first again

2016-05-22 Thread Andrew Borodin
On Sun, 22 May 2016 12:45:58 +0200 Oswald Buddenhagen wrote:
> this matches the pre-glib implementation, and is way more natural.

Thanks!

Committed to the 3641_cleanup branch.

-- 
Andrew
___
mc-devel mailing list
https://mail.gnome.org/mailman/listinfo/mc-devel


[PATCH] fix directory search order to be depth-first again

2016-05-22 Thread Oswald Buddenhagen
this matches the pre-glib implementation, and is way more natural.
---
 src/filemanager/find.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/filemanager/find.c b/src/filemanager/find.c
index e8719c9..2f5db3f 100644
--- a/src/filemanager/find.c
+++ b/src/filemanager/find.c
@@ -871,7 +871,7 @@ push_directory (vfs_path_t * dir)
 static inline vfs_path_t *
 pop_directory (void)
 {
-return (vfs_path_t *) g_queue_pop_tail (_queue);
+return (vfs_path_t *) g_queue_pop_head (_queue);
 }
 
 /* 
-
 */
-- 
2.8.3.1.g1cc7b6a

___
mc-devel mailing list
https://mail.gnome.org/mailman/listinfo/mc-devel