]> git.lyx.org Git - features.git/blobdiff - src/rowpainter.cpp
Fix bug 5629: http://bugzilla.lyx.org/show_bug.cgi?id=5629.
[features.git] / src / rowpainter.cpp
index 4de10afe2d96fbe8a92738d73f96f827968d7827..f23451560798998eed015a16f456db70873898f4 100644 (file)
@@ -595,7 +595,7 @@ void RowPainter::paintLast()
                FontMetrics const & fm =
                        theFontMetrics(pi_.base.bv->buffer().params().getFont());
                int const length = fm.maxAscent() / 2;
-               ColorCode col = change.color();
+               Color col = change.color();
 
                pi_.pain.line(int(x_) + 1, yo_ + 2, int(x_) + 1, yo_ + 2 - length, col,
                           Painter::line_solid, Painter::line_thick);