]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_dotsinset.C
Fix reading of math macros
[lyx.git] / src / mathed / math_dotsinset.C
index 084b61c92d20325d81a55ca49d8ce9ae8d890734..fe37ae08ea3c383105417914130c4d92e349ceb0 100644 (file)
@@ -25,9 +25,8 @@ MathInset * MathDotsInset::clone() const
 void MathDotsInset::metrics(MathMetricsInfo & mi) const
 {
        mathed_char_dim(mi.base.font, 'M', dim_);
-       if (key_->name == "ldots" || key_->name == "dotsm")
-               dh_ = 0;
-       else if (key_->name == "cdots" || key_->name == "dotsb"
+       dh_ = 0;
+       if (key_->name == "cdots" || key_->name == "dotsb"
                        || key_->name == "dotsm" || key_->name == "dotsi")
                dh_ = ascent() / 2;
        else if (key_->name == "dotsc")