+2001-07-09 Dekel Tsur <dekelts@tau.ac.il>
+
+ * math_matrixinset.C (mutate): Use only the first label when
+ mutating eqnarray to display formula.
+
2001-07-09 Juergen Vigna <jug@sad.it>
* formulabase.C (mathDispatchCreation): don't do anything with the
switch (newtype) {
case LM_OT_SIMPLE:
case LM_OT_EQUATION: {
- string label;
bool allnonum = true;
for (int r = 0; r < nrows(); ++r) {
- label += label_[r];
if (!nonum_[r])
allnonum = false;
}
+
+ string label;
+ for (int r = 0; r < nrows(); ++r) {
+ if (!label_[r].empty()) {
+ label = label_[r];
+ break;
+ }
+ }
+
glueall();
mutate(newtype);
label_[0] = label;