Remember navigate back bookmark through sessions

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34672 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2010-06-15 13:44:20 +00:00
parent abcdc1a321
commit 35058f35a9

View File

@ -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 << ", "