summaryrefslogtreecommitdiff
path: root/apps/tagtree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tagtree.c')
-rw-r--r--apps/tagtree.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/apps/tagtree.c b/apps/tagtree.c
index 3a875d6da6..be728dcc95 100644
--- a/apps/tagtree.c
+++ b/apps/tagtree.c
@@ -1312,30 +1312,6 @@ void tagtree_init(void)
1312 initialize_tagtree(); 1312 initialize_tagtree();
1313} 1313}
1314 1314
1315static bool show_search_progress(bool init, int count)
1316{
1317 static int last_tick = 0;
1318
1319 /* Don't show splashes for 1/2 second after starting search */
1320 if (init)
1321 {
1322 last_tick = current_tick + HZ/2;
1323 return true;
1324 }
1325
1326 /* Update progress every 1/10 of a second */
1327 if (TIME_AFTER(current_tick, last_tick + HZ/10))
1328 {
1329 splashf(0, str(LANG_PLAYLIST_SEARCH_MSG), count, str(LANG_OFF_ABORT));
1330 if (action_userabort(TIMEOUT_NOBLOCK))
1331 return false;
1332 last_tick = current_tick;
1333 yield();
1334 }
1335
1336 return true;
1337}
1338
1339static int format_str(struct tagcache_search *tcs, struct display_format *fmt, 1315static int format_str(struct tagcache_search *tcs, struct display_format *fmt,
1340 char *buf, int buf_size) 1316 char *buf, int buf_size)
1341{ 1317{