From 7dda7e2cdbf7b63c316da2baa5627c7e7dc6d5b2 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Tue, 26 May 2009 00:35:59 +0200 Subject: Fixed the line under links to not extend below the text Caused the underline for links at the bottom of the BrowserBox to draw outside of the clip area. --- src/gui/widgets/browserbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/widgets/browserbox.cpp b/src/gui/widgets/browserbox.cpp index b1ae5eb7..91098074 100644 --- a/src/gui/widgets/browserbox.cpp +++ b/src/gui/widgets/browserbox.cpp @@ -343,7 +343,7 @@ void BrowserBox::draw(gcn::Graphics *graphics) mLinks[link].x1 = x; mLinks[link].y1 = y; mLinks[link].x2 = mLinks[link].x1 + size; - mLinks[link].y2 = y + font->getHeight(); + mLinks[link].y2 = y + font->getHeight() - 1; link++; prevColor = selColor; selColor = col; -- cgit v1.2.3-60-g2f50