From 35058f35a9864f8adf9ae225d0747cd19d84122c Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Tue, 15 Jun 2010 13:44:20 +0000 Subject: [PATCH] Remember navigate back bookmark through sessions git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34672 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Session.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Session.cpp b/src/Session.cpp index 4f835e34ee..6056897d1e 100644 --- a/src/Session.cpp +++ b/src/Session.cpp @@ -278,7 +278,7 @@ void BookmarksSection::read(istream & is) void BookmarksSection::write(ostream & os) const { os << '\n' << sec_bookmarks << '\n'; - for (size_t i = 1; i <= max_bookmarks; ++i) { + for (size_t i = 0; i <= max_bookmarks; ++i) { if (isValid(i)) os << i << ", " << bookmarks[i].bottom_pit << ", "