moviebrowser: fix last start position and ts bookmarks

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1714 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 82551f865e
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2011-09-26 (Mon, 26 Sep 2011)

Origin message was:
------------------
- moviebrowser: fix last start position and ts bookmarks

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1714 e54a6e83-5905-42d5-8d5c-058d10e6a962


------------------
This commit was generated by Migit
This commit is contained in:
gixxpunk
2011-09-26 13:32:07 +00:00
parent 5f3fea345a
commit 8239b3d90c

View File

@@ -3117,13 +3117,13 @@ TRACE("[mb] adding boomark menu N %d, position %d\n", menu_nr, position[menu_nr]
//result = startPosSelectionMenu.getSelected();
result = startPosSelectionMenu.getSelectedLine();
printf("startPosSelectionMenu result %d\n", result);
if(result < 3)// select 2 for startPosSelectionMenu.addIntroItems();
if(result < 4)// select 2 for startPosSelectionMenu.addIntroItems();
return -1;
//TRACE("[mb] selected bookmark %d\n", result);
if(result != 0 && result <= MAX_NUMBER_OF_BOOKMARK_ITEMS)
{
result -= 3;
result -= 4;
if(result > sep_pos) result--;
pos = position[result];
}