* math_cursor.C:
formulamacro.C: fix memory leaks
* 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
2001-07-25 André Pönitz <poenitz@gmx.net>
* formulabase.C: re-enable 'space enlargement' feature
-string const getAlign(short int type, int cols)
+string getAlign(MathInsetTypes type, int cols)
{
string align;
switch (type) {
{
string align;
switch (type) {
MathMatrixInset::MathMatrixInset(MathInsetTypes t)
: MathGridInset(getCols(t), 1, "formula"), objtype_(t), nonum_(1), label_(1)
MathMatrixInset::MathMatrixInset(MathInsetTypes t)
: MathGridInset(getCols(t), 1, "formula"), objtype_(t), nonum_(1), label_(1)
+{
+ halign(getAlign(t, ncols()));
+}
MathMatrixInset::MathMatrixInset()
MathMatrixInset::MathMatrixInset()