diff options
author | Henrik Backe <henrik@backe.eu> | 2004-09-23 19:40:52 +0000 |
---|---|---|
committer | Henrik Backe <henrik@backe.eu> | 2004-09-23 19:40:52 +0000 |
commit | 72408f45535c7221c3ef7352fbe14ba5c705baf3 (patch) | |
tree | 6db80794cbfe33a2204c7174a84f5a4a38c4ba5e /apps | |
parent | d00bebae0a88f5320a2f1afc16b61b7d302f8306 (diff) |
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
Diffstat (limited to 'apps')
-rw-r--r-- | apps/bookmark.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/bookmark.c b/apps/bookmark.c index c999504965..236b2e4cde 100644 --- a/apps/bookmark.c +++ b/apps/bookmark.c @@ -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; |