mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
fix mis-alignment of eqnarray columns
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2404 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
84b01259ef
commit
297697dd70
@ -3,6 +3,8 @@
|
||||
* math_cursor.C:
|
||||
formulamacro.C: fix memory leaks
|
||||
|
||||
* math_matrixinset.C: fix mis-alignment of eqnarray columns
|
||||
|
||||
2001-07-25 André Pönitz <poenitz@gmx.net>
|
||||
|
||||
* formulabase.C: re-enable 'space enlargement' feature
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
namespace {
|
||||
|
||||
string const getAlign(short int type, int cols)
|
||||
string getAlign(MathInsetTypes type, int cols)
|
||||
{
|
||||
string align;
|
||||
switch (type) {
|
||||
@ -79,7 +79,9 @@ int firstRelOp(MathArray const & array)
|
||||
|
||||
MathMatrixInset::MathMatrixInset(MathInsetTypes t)
|
||||
: MathGridInset(getCols(t), 1, "formula"), objtype_(t), nonum_(1), label_(1)
|
||||
{}
|
||||
{
|
||||
halign(getAlign(t, ncols()));
|
||||
}
|
||||
|
||||
|
||||
MathMatrixInset::MathMatrixInset()
|
||||
|
Loading…
Reference in New Issue
Block a user