diff options
author | Björn Stenberg <bjorn@haxx.se> | 2005-01-18 22:45:00 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2005-01-18 22:45:00 +0000 |
commit | 84c7d8802106266c94d0a30827dff418a2fcac6d (patch) | |
tree | 17a4d8a7f5375584783925dd3b44203245413755 /apps/playlist.c | |
parent | f9c06226d6c3f756437dc45d573d23f14699e728 (diff) | |
download | rockbox-84c7d8802106266c94d0a30827dff418a2fcac6d.tar.gz rockbox-84c7d8802106266c94d0a30827dff418a2fcac6d.zip |
Added support for very large tables in ID3 database.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5595 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playlist.c')
-rw-r--r-- | apps/playlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/playlist.c b/apps/playlist.c index aa8415a86f..4506ec5f54 100644 --- a/apps/playlist.c +++ b/apps/playlist.c | |||
@@ -545,7 +545,7 @@ static int add_directory_to_playlist(struct playlist_info* playlist, | |||
545 | /* use the tree browser dircache to load files */ | 545 | /* use the tree browser dircache to load files */ |
546 | global_settings.dirfilter = SHOW_ALL; | 546 | global_settings.dirfilter = SHOW_ALL; |
547 | strncpy(tc->currdir, dirname, sizeof(tc->currdir)); | 547 | strncpy(tc->currdir, dirname, sizeof(tc->currdir)); |
548 | num_files = ft_load(tc, NULL); | 548 | num_files = ft_load(tc); |
549 | files = (struct entry*) tc->dircache; | 549 | files = (struct entry*) tc->dircache; |
550 | 550 | ||
551 | if(!num_files) | 551 | if(!num_files) |
@@ -585,7 +585,7 @@ static int add_directory_to_playlist(struct playlist_info* playlist, | |||
585 | 585 | ||
586 | /* we now need to reload our current directory */ | 586 | /* we now need to reload our current directory */ |
587 | strncpy(tc->currdir, dirname, sizeof(tc->currdir)); | 587 | strncpy(tc->currdir, dirname, sizeof(tc->currdir)); |
588 | num_files = ft_load(tc, NULL); | 588 | num_files = ft_load(tc); |
589 | files = (struct entry*) tc->dircache; | 589 | files = (struct entry*) tc->dircache; |
590 | if (!num_files) | 590 | if (!num_files) |
591 | { | 591 | { |