]> git.lyx.org Git - features.git/blobdiff - src/mathed/array.C
some visual support for \lefteqn
[features.git] / src / mathed / array.C
index 715350fda60eec914dc0ab26aec15d2fb55b2733..c91d52ed84626a27048c3b5d9d349d68ed60425c 100644 (file)
@@ -201,12 +201,10 @@ void MathArray::write(ostream & os, bool fragile) const
 
 void MathArray::writeNormal(ostream & os) const
 {
-       if (empty()) {
-               os << "[par] ";
-               return;
-       }
-
-       write(os, true);
+       os << "[par ";
+       for (const_iterator it = begin(); it != end(); ++it)
+               (*it)->writeNormal(os);
+       os << "]";
 }