do not reset last selected item after leaving the file browser when in root.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28360 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
77129ad3ec
commit
36cd720e8e
1 changed files with 2 additions and 1 deletions
|
@ -257,7 +257,8 @@ static int browser(void* param)
|
|||
{
|
||||
case GO_TO_FILEBROWSER:
|
||||
if (!get_current_file(last_folder, MAX_PATH) ||
|
||||
!strchr(&last_folder[1], '/'))
|
||||
(!strchr(&last_folder[1], '/') &&
|
||||
global_settings.start_directory[1] != '\0'))
|
||||
{
|
||||
last_folder[0] = '/';
|
||||
last_folder[1] = '\0';
|
||||
|
|
Loading…
Reference in a new issue