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:
André Pönitz 2001-08-02 09:59:09 +00:00
parent 84b01259ef
commit 297697dd70
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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()