fix reading subscripts/superscripts.

A true one-liner.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8619 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2004-04-07 12:10:19 +00:00
parent 21ea61eb81
commit 82197e8dcf

View File

@ -758,7 +758,7 @@ void Parser::parse1(MathGridInset & grid, unsigned flags,
//if (p->nuc().size() == 1 && p->nuc().back()->asNestInset() &&
// p->nuc().back()->extraBraces())
// p->nuc() = p->nuc().back()->asNestInset()->cell(0);
parse(p->cell(up), FLAG_ITEM, mode);
parse(p->cell(p->idxOfScript(up)), FLAG_ITEM, mode);
if (limits) {
p->limits(limits);
limits = 0;