mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
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:
@@ -3117,13 +3117,13 @@ TRACE("[mb] adding boomark menu N %d, position %d\n", menu_nr, position[menu_nr]
|
|||||||
//result = startPosSelectionMenu.getSelected();
|
//result = startPosSelectionMenu.getSelected();
|
||||||
result = startPosSelectionMenu.getSelectedLine();
|
result = startPosSelectionMenu.getSelectedLine();
|
||||||
printf("startPosSelectionMenu result %d\n", result);
|
printf("startPosSelectionMenu result %d\n", result);
|
||||||
if(result < 3)// select 2 for startPosSelectionMenu.addIntroItems();
|
if(result < 4)// select 2 for startPosSelectionMenu.addIntroItems();
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
//TRACE("[mb] selected bookmark %d\n", result);
|
//TRACE("[mb] selected bookmark %d\n", result);
|
||||||
if(result != 0 && result <= MAX_NUMBER_OF_BOOKMARK_ITEMS)
|
if(result != 0 && result <= MAX_NUMBER_OF_BOOKMARK_ITEMS)
|
||||||
{
|
{
|
||||||
result -= 3;
|
result -= 4;
|
||||||
if(result > sep_pos) result--;
|
if(result > sep_pos) result--;
|
||||||
pos = position[result];
|
pos = position[result];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user