]> git.lyx.org Git - features.git/commitdiff
fix bug when reading \hline (did not work at all anymore...)
authorAndré Pönitz <poenitz@gmx.net>
Fri, 8 Nov 2002 08:44:52 +0000 (08:44 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Fri, 8 Nov 2002 08:44:52 +0000 (08:44 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5603 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/math_parser.C

index 7c5d2d51cd45b09770fb5f810268c6bf1c76d7ae..3afff07b3eb05273a76c9b3ada3582a7caaa8994 100644 (file)
@@ -940,8 +940,7 @@ void Parser::parse1(MathGridInset & grid, unsigned flags,
                }
 
                else if (t.cs() == "hline") {
-                       if (grid.asHullInset())
-                               grid.asHullInset()->rowinfo(cellrow + 1);
+                       grid.rowinfo(cellrow).lines_ ++;
                }
 
                else if (t.cs() == "sqrt") {