diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2012-04-10 07:13:04 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2012-04-10 07:13:04 (GMT) |
commit | 56af5a163513abf0c379c164e6d6c4960957a065 (patch) | |
tree | c0044c1e7f267909bb235ae75b2cf3fe038c3a1e | |
parent | 7b6dc2ad72a4c4ecd20eddbfb6f1b4c3bd2a7024 (diff) | |
download | fluxbox-56af5a163513abf0c379c164e6d6c4960957a065.zip fluxbox-56af5a163513abf0c379c164e6d6c4960957a065.tar.bz2 |
Bugfix: Don't draw the interlace lines 1px too far
-rw-r--r-- | src/FbTk/TextureRender.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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) { | |||
1427 | lgc.setForeground(texture.colorTo()); | 1427 | lgc.setForeground(texture.colorTo()); |
1428 | register unsigned int i = 0; | 1428 | register unsigned int i = 0; |
1429 | for (; i < height; i += 2) | 1429 | for (; i < height; i += 2) |
1430 | pixmap.drawLine(lgc.gc(), 0, i, width, i); | 1430 | pixmap.drawLine(lgc.gc(), 0, i, width - 1, i); |
1431 | 1431 | ||
1432 | } | 1432 | } |
1433 | 1433 | ||