]> git.lyx.org Git - lyx.git/blobdiff - src/TextMetrics.cpp
* gcc does not like missing characters in keywords
[lyx.git] / src / TextMetrics.cpp
index 9d97abb25ee8d6145d625469b7b502f6554c47c7..5c68b70230f510a633a75bcf3e09ed5108bf9acb 100644 (file)
@@ -1934,8 +1934,7 @@ void TextMetrics::drawParagraph(PainterInfo & pi, pit_type pit, int x, int y) co
                // (if paragraph background was not cleared)
                if (row_selection || (!pi.full_repaint && row_has_changed)) {
                        pi.pain.fillRectangle(x, y - rit->ascent(),
-                               width(), rit->height(),
-                               ColorCode(ColorCode(pi.background_color)));
+                               width(), rit->height(), pi.background_color);
                }
                if (row_selection) {
                        DocIterator beg = bv_->cursor().selectionBegin();