]> git.lyx.org Git - lyx.git/commitdiff
trivial fix for #630
authorAndré Pönitz <poenitz@gmx.net>
Wed, 25 Sep 2002 12:49:55 +0000 (12:49 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Wed, 25 Sep 2002 12:49:55 +0000 (12:49 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5344 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/math_arrayinset.C

index e0cb5bed158abfd5db9006787a91b78d44330cee..28739cdedcec0725a7cb6e7a52ee79260e83efc2 100644 (file)
@@ -89,7 +89,9 @@ void MathArrayInset::write(WriteStream & os) const
 
        if (os.fragile())
                os << "\\protect";
-       os << "\\end{" << name_ << "}\n";
+       os << "\\end{" << name_ << "}";
+       // adding a \n here is bad if the array is the last item
+       // in an \eqnarray...
 }