diff options
Diffstat (limited to 'apps/playlist.c')
-rw-r--r-- | apps/playlist.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/playlist.c b/apps/playlist.c index 9cbda3f991..cdcc0594c2 100644 --- a/apps/playlist.c +++ b/apps/playlist.c @@ -136,8 +136,6 @@ #define PLAYLIST_QUEUED 0x20000000 #define PLAYLIST_SKIPPED 0x10000000 -#define PLAYLIST_DISPLAY_COUNT 10 - struct directory_search_context { struct playlist_info* playlist; int position; @@ -2040,7 +2038,7 @@ int playlist_resume(void) for(count=0; count<nread && !exit_loop && !useraborted; count++,p++) { /* So a splash while we are loading. */ - if (current_tick - last_tick > HZ/4) + if (TIME_AFTER(current_tick, last_tick + HZ/4)) { splashf(0, str(LANG_LOADING_PERCENT), (total_read+count)*100/control_file_size, |