]> git.lyx.org Git - features.git/commitdiff
Fix \vdots problem reported by Michael
authorAndré Pönitz <poenitz@gmx.net>
Mon, 25 Nov 2002 10:15:13 +0000 (10:15 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Mon, 25 Nov 2002 10:15:13 +0000 (10:15 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5710 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/math_dotsinset.C

index c939ac9892c2f004e19a9dec97653f1159ffd58e..023e182e7b6058f8d98df492d5acd4c983f8d88f 100644 (file)
@@ -32,8 +32,10 @@ void MathDotsInset::metrics(MathMetricsInfo & mi) const
                dh_ = ascent() / 2;
        else if (key_->name == "dotsc")
                dh_ = ascent() / 4;
-       else if (key_->name == "vdots")
-               dim_.w /= 2;
+       else if (key_->name == "vdots") {
+               dim_.w = (dim_.w / 2) + 1;
+               dh_ = ascent();
+       }
        else if (key_->name == "ddots")
                dh_ = ascent();
 }