mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-14 09:32:20 +00:00
Try to improve maintainability by separately checking for the
gather environment. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22289 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
fccbc1c6e0
commit
644475c13b
@ -249,7 +249,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';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user