forked from len0rd/rockbox
Fix FS#6716 - make it easier to follow the selected file going in and
out of the trees git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12638 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
38be0e65d3
commit
1b07ed05a4
3 changed files with 20 additions and 5 deletions
|
|
@ -88,10 +88,10 @@ static int browser(void* param)
|
|||
last_screen == GO_TO_WPS && audio_status() &&
|
||||
wps_state.current_track_path[0] != '\0')
|
||||
{
|
||||
snprintf(folder, MAX_PATH, "%s", wps_state.current_track_path);
|
||||
strcpy(folder, wps_state.current_track_path);
|
||||
}
|
||||
else
|
||||
snprintf(folder, MAX_PATH, "%s/", last_folder);
|
||||
strcpy(folder, last_folder);
|
||||
break;
|
||||
case GO_TO_DBBROWSER:
|
||||
if ((last_screen != GO_TO_ROOT) && !tagcache_is_usable())
|
||||
|
|
@ -111,7 +111,7 @@ static int browser(void* param)
|
|||
switch ((intptr_t)param)
|
||||
{
|
||||
case GO_TO_FILEBROWSER:
|
||||
strcpy(last_folder, tc->currdir);
|
||||
get_current_file(last_folder, MAX_PATH);
|
||||
break;
|
||||
case GO_TO_DBBROWSER:
|
||||
last_db_dirlevel = tc->dirlevel;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue