Show the second (instead of the last) bookmark after deleting the first one
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5113 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d00bebae0a
commit
72408f4553
1 changed files with 4 additions and 1 deletions
|
@ -627,7 +627,10 @@ static char* select_bookmark(const char* bookmark_file_name)
|
|||
while(true)
|
||||
{
|
||||
if(bookmark_id < 0)
|
||||
bookmark_id = bookmark_count -1;
|
||||
{
|
||||
bookmark_id = 0;
|
||||
bookmark_id_prev = -1;
|
||||
}
|
||||
if(bookmark_id == bookmark_count)
|
||||
bookmark_id = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue