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
This commit is contained in:
Enrico Forestieri 2007-12-24 02:36:41 +00:00
parent 624315fe44
commit 1732e5458b

View File

@ -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';
}