]> git.lyx.org Git - features.git/commitdiff
fix drawing of \overline and \underline
authorAndré Pönitz <poenitz@gmx.net>
Sat, 13 Oct 2001 14:39:18 +0000 (14:39 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Sat, 13 Oct 2001 14:39:18 +0000 (14:39 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2880 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/math_decorationinset.C
src/mathed/support.C

index 2cd1af5a9e9363db4eddd0aa1ee24b351169a0f5..4b35c789f36e33481c32ac9377392acf70a79b95 100644 (file)
@@ -51,6 +51,8 @@ bool MathDecorationInset::protect() const
 bool MathDecorationInset::wide() const
 {
        return
+                       name_ == "overline" ||
+                       name_ == "underline" ||
                        name_ == "overbrace" ||
                        name_ == "underbrace" ||
                        name_ == "overleftarrow" ||
index bc1264ea82e807b88690012744d0ecd68dabc20c..9cb0cd114e5775116baad1b792ea3ce3d434954a 100644 (file)
@@ -355,7 +355,7 @@ double const slash[] = {
 
 
 double const hline[] = {
-       1, 0.05, 0.5, 0.95, 0.5,
+       1, 0.00, 0.5, 1.0, 0.5,
        0
 };