]> git.lyx.org Git - features.git/commit
Preliminary safeguard code to fix bug 3189.
authorAbdelrazak Younes <younes@lyx.org>
Thu, 8 Feb 2007 08:44:45 +0000 (08:44 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Thu, 8 Feb 2007 08:44:45 +0000 (08:44 +0000)
commita780e25d38af03f4c3242a330a56ca7c62b3d217
tree1436c2486b936bdf8d0d54fa0f1907ced39f5099
parent8ad0944fccca904a2521f6690546bd877798e467
Preliminary safeguard code to fix bug 3189.

* DocIterator::prevInset(): return 0 if the mathed cell() is empty.

* LCursor::info(): use prevInset() only if different from zero.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17104 a592a061-630c-0410-9148-cb99ea01b6c8
src/cursor.C
src/dociterator.C