From: Enrico Forestieri Date: Mon, 24 Dec 2007 02:36:41 +0000 (+0000) Subject: Try to improve maintainability by separately checking for the X-Git-Tag: 1.6.10~6818 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=1732e5458bfd1453b16a182b324dcf4c8f918174;p=features.git Try to improve maintainability by separately checking for the gather environment. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22288 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/InsetMathHull.cpp b/src/mathed/InsetMathHull.cpp index 2ad48d8fa8..b6817648da 100644 --- a/src/mathed/InsetMathHull.cpp +++ b/src/mathed/InsetMathHull.cpp @@ -231,7 +231,9 @@ char InsetMathHull::defaultColAlign(col_type col) { if (type_ == hullEqnArray) return "rcl"[col]; - if (type_ >= hullAlign && type_ != hullGather) + if (type_ == hullGather) + return 'c'; + if (type_ >= hullAlign) return "rl"[col & 1]; return 'c'; }