]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_casesinset.C
Fix reading of math macros
[lyx.git] / src / mathed / math_casesinset.C
index 09992ed670ed78391e9aaf186f18b313dc6c10b7..8fe06a6a7eb099d9fad49b8876a4dca2ee99e69c 100644 (file)
@@ -25,7 +25,7 @@ MathInset * MathCasesInset::clone() const
 void MathCasesInset::metrics(MathMetricsInfo & mi) const
 {
        MathGridInset::metrics(mi);
-       width_ += 8;
+       dim_.w += 8;
 }
 
 
@@ -52,7 +52,7 @@ void MathCasesInset::normalize(NormalStream & os) const
 {
        os << "[cases ";
        MathGridInset::normalize(os);
-       os << "]";
+       os << ']';
 }
 
 
@@ -60,7 +60,7 @@ void MathCasesInset::maplize(MapleStream & os) const
 {
        os << "cases(";
        MathGridInset::maplize(os);
-       os << ")";
+       os << ')';
 }