changed: put resume bookmark at end of list in bookmark dialog
authorspiff <spiff@xbmc.org>
Fri, 6 Jan 2012 16:12:36 +0000 (17:12 +0100)
committerspiff <spiff@xbmc.org>
Fri, 6 Jan 2012 16:13:48 +0000 (17:13 +0100)
xbmc/video/dialogs/GUIDialogVideoBookmarks.cpp

index 206f8b3..9412ba7 100644 (file)
@@ -150,7 +150,7 @@ void CGUIDialogVideoBookmarks::Update()
   videoDatabase.GetBookMarksForFile(path, m_bookmarks, CBookmark::EPISODE, true);
   /* push in the resume mark first */
   if( videoDatabase.GetResumeBookMark(path, resumemark) )
-    m_bookmarks.insert(m_bookmarks.begin(), resumemark);
+    m_bookmarks.push_back(resumemark);
 
   if (g_application.CurrentFileItem().HasVideoInfoTag() && g_application.CurrentFileItem().GetVideoInfoTag()->m_iEpisode > -1)
   {