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);