On Wed, Dec 04, 2002 at 11:49:28AM +0100, Jean-Marc Lasgouttes wrote:
> Andre> Yes, there have been bugs in that area, but I believed they
> Andre> have been squashed.
> 
> Andre, I can confirm this bug in 1.2.2cvs. Do you have a fix in hand?

No...

but now. See attachment.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)
Index: src/mathed/math_parser.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/math_parser.C,v
retrieving revision 1.197.2.4
diff -u -p -r1.197.2.4 math_parser.C
--- src/mathed/math_parser.C    11 Sep 2002 14:47:04 -0000      1.197.2.4
+++ src/mathed/math_parser.C    4 Dec 2002 11:01:34 -0000
@@ -1045,8 +1045,10 @@ void Parser::parse_into1(MathArray & arr
                        }
                        p->ensure(up);
                        parse_into(p->cell(up), FLAG_ITEM);
-                       p->limits(limits);
-                       limits = 0;
+                       if (limits) {
+                               p->limits(limits);
+                               limits = 0;
+                       }
                }
 
                else if (t.character() == ']' && (flags & FLAG_BRACK_END))

Reply via email to