]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMathHull.cpp
Improved character count statistics for letter based insets (e.g. the LyX logo).
[features.git] / src / mathed / InsetMathHull.cpp
index d0e11fe2ab1118b9b4401ac8f1eb91f460c1bce9..068854b68300a6740f8bf8e84ecb7a98eee24204 100644 (file)
@@ -604,7 +604,7 @@ void InsetMathHull::drawMarkers(PainterInfo & pi, int x, int y) const
        ColorCode pen_color = mouseHovered(pi.base.bv) || editing(pi.base.bv)?
                Color_mathframe : Color_mathcorners;
        // If the corners have the same color as the background, do not paint them.
-       if (lcolor.getX11Name(Color_mathbg) == lcolor.getX11Name(pen_color))
+       if (lcolor.getX11HexName(Color_mathbg) == lcolor.getX11HexName(pen_color))
                return;
 
        Inset::drawMarkers(pi, x, y);