mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
fix crash in backspace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9225 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
dacd4cea26
commit
44544dc0e4
@ -1,3 +1,8 @@
|
||||
|
||||
2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
|
||||
|
||||
* text.C (backspace): fix crash
|
||||
|
||||
2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
||||
|
||||
* format.[Ch] (getFormatFromFile): new method
|
||||
|
@ -1631,7 +1631,7 @@ void LyXText::backspace(LCursor & cur)
|
||||
&& (pars_[cpit].layout() == pars_[tmppit].layout()
|
||||
|| pars_[tmppit].layout() == tclass.defaultLayout())
|
||||
&& pars_[cpit].getAlign() == pars_[tmppit].getAlign()) {
|
||||
mergeParagraph(bufparams, buf.paragraphs(), cpit);
|
||||
mergeParagraph(bufparams, pars_, cpit);
|
||||
|
||||
if (cur.pos() != 0 && pars_[cpit].isSeparator(cur.pos() - 1))
|
||||
--cur.pos();
|
||||
|
Loading…
Reference in New Issue
Block a user