diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-05-15 06:42:02 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-05-15 06:42:02 +0000 |
| commit | 6ddc38c02179427a82fc49a49c984bdaa4f39b99 (patch) | |
| tree | 248473b1771f654fcf1d95083f074e79e97ecb88 /apps | |
| parent | 670559f86836cd4036b8ae31e0cc65bd65ecf814 (diff) | |
| download | rockbox-6ddc38c02179427a82fc49a49c984bdaa4f39b99.zip rockbox-6ddc38c02179427a82fc49a49c984bdaa4f39b99.tar.gz rockbox-6ddc38c02179427a82fc49a49c984bdaa4f39b99.tar.bz2 rockbox-6ddc38c02179427a82fc49a49c984bdaa4f39b99.tar.xz | |
Accept FS#7170 - fix a bug with random folder advance
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13390 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/playlist.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/playlist.c b/apps/playlist.c index ba98648..7b1b91e 100644 --- a/apps/playlist.c +++ b/apps/playlist.c @@ -1391,6 +1391,7 @@ static int get_next_dir(char *dir, bool is_forward, bool recursion) char buffer[MAX_PATH]; int folder_count = 0,i; srand(current_tick); + *(tc->dirfilter) = SHOW_MUSIC; if (fd >= 0) { read(fd,&folder_count,sizeof(int)); @@ -1404,6 +1405,8 @@ static int get_next_dir(char *dir, bool is_forward, bool recursion) } strcpy(dir,buffer); close(fd); + *(tc->dirfilter) = dirfilter; + reload_directory(); return 0; } } |