Fix bug not allowing more than 5 directories

This commit is contained in:
Markus Koch 2018-07-29 12:30:51 +02:00
parent 3064eae049
commit 21206d4e3e
1 changed files with 1 additions and 1 deletions

View File

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