]> git.lyx.org Git - lyx.git/blobdiff - src/text.C
determine current cell in the tabular controller instead of the inset
[lyx.git] / src / text.C
index fc41964fa042ec897b7990e1125bc025d088175c..c6dcac79284b215805bd18b5494b701cf429e3ac 100644 (file)
@@ -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();