diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/tagtree.c | 13 |
1 files changed, 7 insertions, 6 deletions
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) | |||
1251 | if (total_count++ < offset) | 1251 | if (total_count++ < offset) |
1252 | continue; | 1252 | continue; |
1253 | 1253 | ||
1254 | if ( strcmp(tcs.result , UNTAGGED ) == 0) | ||
1255 | { | ||
1256 | tcs.result_len = strlcpy(tcs.result, | ||
1257 | str(LANG_TAGNAVI_UNTAGGED), TAG_MAXLEN )+1; | ||
1258 | } | ||
1259 | |||
1260 | dptr->newtable = NAVIBROWSE; | 1254 | dptr->newtable = NAVIBROWSE; |
1261 | if (tag == tag_title || tag == tag_filename) | 1255 | if (tag == tag_title || tag == tag_filename) |
1262 | { | 1256 | { |
@@ -1281,6 +1275,13 @@ static int retrieve_entries(struct tree_context *c, int offset, bool init) | |||
1281 | } | 1275 | } |
1282 | } | 1276 | } |
1283 | 1277 | ||
1278 | if (strcmp(tcs.result, UNTAGGED) == 0) | ||
1279 | { | ||
1280 | tcs.result = str(LANG_TAGNAVI_UNTAGGED); | ||
1281 | tcs.result_len = strlen(tcs.result); | ||
1282 | tcs.ramresult = true; | ||
1283 | } | ||
1284 | |||
1284 | if (!tcs.ramresult || fmt) | 1285 | if (!tcs.ramresult || fmt) |
1285 | { | 1286 | { |
1286 | char buf[MAX_PATH]; | 1287 | char buf[MAX_PATH]; |