]> git.lyx.org Git - features.git/commitdiff
Center rows in the gather environment.
authorEnrico Forestieri <forenr@lyx.org>
Fri, 21 Dec 2007 23:15:54 +0000 (23:15 +0000)
committerEnrico Forestieri <forenr@lyx.org>
Fri, 21 Dec 2007 23:15:54 +0000 (23:15 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22250 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/InsetMathHull.cpp

index 9a1afc01052019f35909f48969ec063f1d6fc189..2ad48d8fa80278ef61d3811e45b0b55375771bd3 100644 (file)
@@ -231,7 +231,7 @@ char InsetMathHull::defaultColAlign(col_type col)
 {
        if (type_ == hullEqnArray)
                return "rcl"[col];
-       if (type_ >= hullAlign)
+       if (type_ >= hullAlign && type_ != hullGather)
                return "rl"[col & 1];
        return 'c';
 }