From 8239b3d90c2b43c3a5bbfba6ef7b7bf728b42a2b Mon Sep 17 00:00:00 2001 From: gixxpunk Date: Mon, 26 Sep 2011 13:32:07 +0000 Subject: [PATCH] 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: https://github.com/neutrino-images/ni-neutrino/commit/82551f865e3edc222d860dc33721ebdcdda62ebf Author: gixxpunk 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 --- src/gui/moviebrowser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/moviebrowser.cpp b/src/gui/moviebrowser.cpp index 4a2f1862a..1ac3b0bd6 100644 --- a/src/gui/moviebrowser.cpp +++ b/src/gui/moviebrowser.cpp @@ -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]; }