From 21206d4e3ead3d0b6d01436081e9431f2753f399 Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Sun, 29 Jul 2018 12:30:51 +0200 Subject: [PATCH] Fix bug not allowing more than 5 directories --- src/mdiary.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mdiary.c b/src/mdiary.c index 01463ec..75d4663 100644 --- a/src/mdiary.c +++ b/src/mdiary.c @@ -449,7 +449,7 @@ static void mdiary_recurse_and_collect(struct mdiary_scanner *mdiary_scanner, mdiary_recurse_and_collect(mdiary_scanner, fullPath, autotags, entryListStore, autoCompletion, - max_level--); + max_level - 1); *autotags = g_list_remove(*autotags, g_list_last(*autotags)->data); } g_free(fullPath);