mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-30 05:12:40 +00:00
Crash fix (wrong cursor def)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7935 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d0c18f8c60
commit
b0650a1e5f
@ -1,3 +1,7 @@
|
|||||||
|
2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
|
||||||
|
|
||||||
|
* text3.C: fix one crash due to wrong cursor def
|
||||||
|
|
||||||
2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
|
2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
|
||||||
|
|
||||||
* vc-backend.C (scanMaster): make the regex static
|
* vc-backend.C (scanMaster): make the regex static
|
||||||
|
@ -1215,7 +1215,7 @@ dispatch_result LyXText::dispatch(FuncRequest const & cmd)
|
|||||||
if (bv->theLockingInset()) {
|
if (bv->theLockingInset()) {
|
||||||
InsetOld * tli = bv->theLockingInset();
|
InsetOld * tli = bv->theLockingInset();
|
||||||
LyXCursor cursor = bv->text->cursor;
|
LyXCursor cursor = bv->text->cursor;
|
||||||
LyXFont font = bv->text->getFont(cursorPar(), cursor.pos());
|
LyXFont font = bv->text->getFont(bv->text->cursorPar(), cursor.pos());
|
||||||
int width = tli->width();
|
int width = tli->width();
|
||||||
int inset_x = font.isVisibleRightToLeft()
|
int inset_x = font.isVisibleRightToLeft()
|
||||||
? cursor.x() - width : cursor.x();
|
? cursor.x() - width : cursor.x();
|
||||||
|
Loading…
Reference in New Issue
Block a user