diff --git a/apps/tagtree.c b/apps/tagtree.c index d28928dbd5..a1c5640b74 100644 --- a/apps/tagtree.c +++ b/apps/tagtree.c @@ -1251,12 +1251,6 @@ static int retrieve_entries(struct tree_context *c, int offset, bool init) if (total_count++ < offset) continue; - if ( strcmp(tcs.result , UNTAGGED ) == 0) - { - tcs.result_len = strlcpy(tcs.result, - str(LANG_TAGNAVI_UNTAGGED), TAG_MAXLEN )+1; - } - dptr->newtable = NAVIBROWSE; if (tag == tag_title || tag == tag_filename) { @@ -1281,6 +1275,13 @@ static int retrieve_entries(struct tree_context *c, int offset, bool init) } } + if (strcmp(tcs.result, UNTAGGED) == 0) + { + tcs.result = str(LANG_TAGNAVI_UNTAGGED); + tcs.result_len = strlen(tcs.result); + tcs.ramresult = true; + } + if (!tcs.ramresult || fmt) { char buf[MAX_PATH];