From 56af5a163513abf0c379c164e6d6c4960957a065 Mon Sep 17 00:00:00 2001 From: Mathias Gumz Date: Tue, 10 Apr 2012 09:13:04 +0200 Subject: Bugfix: Don't draw the interlace lines 1px too far --- src/FbTk/TextureRender.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FbTk/TextureRender.cc b/src/FbTk/TextureRender.cc index 87fbd96..298aebc 100644 --- a/src/FbTk/TextureRender.cc +++ b/src/FbTk/TextureRender.cc @@ -1427,7 +1427,7 @@ Pixmap TextureRender::renderSolid(const FbTk::Texture &texture) { lgc.setForeground(texture.colorTo()); register unsigned int i = 0; for (; i < height; i += 2) - pixmap.drawLine(lgc.gc(), 0, i, width, i); + pixmap.drawLine(lgc.gc(), 0, i, width - 1, i); } -- cgit v0.11.2