]> git.lyx.org Git - features.git/commitdiff
Fix deletion of empty last row for \smallmatrix (part of bug #7484).
authorEnrico Forestieri <forenr@lyx.org>
Fri, 22 Apr 2011 15:06:59 +0000 (15:06 +0000)
committerEnrico Forestieri <forenr@lyx.org>
Fri, 22 Apr 2011 15:06:59 +0000 (15:06 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38475 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/MathParser.cpp

index ad52e76105c3a0a0f8038672cdaa3230bf53237f..0b5da9838bdbaa9f621873d4e58e760a3a21da1d 100644 (file)
@@ -252,7 +252,7 @@ bool innerHull(docstring const & name)
        return name == "array" || name == "cases" || name == "aligned"
                || name == "alignedat" || name == "gathered" || name == "split"
                || name == "subarray" || name == "tabular" || name == "matrix"
-               || name.substr(1) == "matrix";
+               || name == "smallmatrix" || name.substr(1) == "matrix";
 }