From 82197e8dcffc1c40ef171a8df209f60198630eee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Wed, 7 Apr 2004 12:10:19 +0000 Subject: [PATCH] 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 --- src/mathed/math_parser.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mathed/math_parser.C b/src/mathed/math_parser.C index 95a0481164..eab9bbf56d 100644 --- a/src/mathed/math_parser.C +++ b/src/mathed/math_parser.C @@ -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;