Adjust comments to the truth.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35850 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2010-10-26 12:34:04 +00:00
parent dbe3d79e15
commit 5518b04248
2 changed files with 2 additions and 2 deletions

View File

@ -168,7 +168,7 @@ public:
/** add cursor position to the fname entry in the filepos map
@param fname file entry for which to save position information
@param pos position of the cursor when the file is closed.
@param pos position of the cursor when the BufferView is closed.
*/
void save(support::FileName const & fname, FilePos const & pos);

View File

@ -1328,7 +1328,7 @@ void GuiView::setBuffer(Buffer * newBuffer)
if (wa == 0) {
newBuffer->masterBuffer()->updateBuffer();
wa = addWorkArea(*newBuffer);
// scroll to the position when the file was last closed
// scroll to the position when the BufferView was last closed
if (lyxrc.use_lastfilepos) {
LastFilePosSection::FilePos filepos =
theSession().lastFilePos().load(newBuffer->fileName());