]> git.lyx.org Git - lyx.git/blobdiff - src/RowPainter.cpp
Support for the Malayalam language
[lyx.git] / src / RowPainter.cpp
index 9534b207d0b04322ead1e925a497221feac927e3..a060874aab7cf7ba2ed1120a5f5805c56dd3dc65 100644 (file)
@@ -553,9 +553,9 @@ void RowPainter::paintLast() const
                }
 
                if (endlabel == END_LABEL_BOX)
-                       pi_.pain.rectangle(xo_ + x, y, size, size, font.realColor());
+                       pi_.pain.rectangle(int(xo_) + x, y, size, size, font.realColor());
                else
-                       pi_.pain.fillRectangle(xo_ + x, y, size, size, font.realColor());
+                       pi_.pain.fillRectangle(int(xo_) + x, y, size, size, font.realColor());
                break;
        }