]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSplit.cpp
revert last patch. there's something wrong, possibly unrelated to this
[lyx.git] / src / mathed / InsetMathSplit.cpp
index 647f5cf7371eeed6b9354a4041cf2138bb05b532..01b5bcfe68c018764b7a1a6b64e598135c7253f3 100644 (file)
@@ -90,8 +90,8 @@ void InsetMathSplit::write(WriteStream & ws) const
        if (ws.fragile())
                ws << "\\protect";
        ws << "\\begin{" << name_ << '}';
-       if (name_ != "split" && valign() != 'c')
-               ws << '[' << valign() << ']';
+       if (name_ != "split" && verticalAlignment() != 'c')
+               ws << '[' << verticalAlignment() << ']';
        if (name_ == "alignedat")
                ws << '{' << static_cast<unsigned int>((ncols() + 1)/2) << '}';
        InsetMathGrid::write(ws);