fix 2 dontlikes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7971 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Alfredo Braunstein 2003-10-23 15:42:37 +00:00
parent cf40d206dc
commit 970e98f279
2 changed files with 5 additions and 0 deletions

View File

@ -1,4 +1,8 @@
2003-10-23 Alfredo Braunstein <abraunst@libero.it>
* text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2003-10-23 André Pönitz <poenitz@gmx.net> 2003-10-23 André Pönitz <poenitz@gmx.net>
* RowList_fwd.h: change list<> to vector<> to gain speed * RowList_fwd.h: change list<> to vector<> to gain speed

View File

@ -284,6 +284,7 @@ void LyXText::cursorPrevious()
} }
LyXCursor cur; LyXCursor cur;
rit = cursorRow();
ParagraphList::iterator pit = cursorPar(); ParagraphList::iterator pit = cursorPar();
rit = cursorRow(); rit = cursorRow();
previousRow(pit, rit); previousRow(pit, rit);