From 4751f7004c7fda24cafc950cbf5dced9d265074e Mon Sep 17 00:00:00 2001 From: Bo Peng Date: Tue, 9 Jan 2007 18:13:29 +0000 Subject: [PATCH] Bookmarks: change from LIFO to FIFO git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16630 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/session.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/session.C b/src/session.C index 7078a2a734..e7541b97b9 100644 --- a/src/session.C +++ b/src/session.C @@ -285,7 +285,7 @@ void BookmarksSection::write(ostream & os) const void BookmarksSection::save(FileName const & fname, int par_id, pos_type par_pos, bool persistent) { if (persistent) { - bookmarks.push_front(Bookmark(fname, par_id, par_pos)); + bookmarks.push_back(Bookmark(fname, par_id, par_pos)); if (bookmarks.size() > max_bookmarks) bookmarks.pop_back(); }