summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-26 00:35:59 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-26 00:37:12 +0200
commit7dda7e2cdbf7b63c316da2baa5627c7e7dc6d5b2 (patch)
treef880cba229ba79adef76fda67e6015f4c2c41b97 /src/gui
parenteb1004715f9fa6a7700ea5165a1316f377e0b8f6 (diff)
downloadmana-7dda7e2cdbf7b63c316da2baa5627c7e7dc6d5b2.tar.gz
mana-7dda7e2cdbf7b63c316da2baa5627c7e7dc6d5b2.tar.bz2
mana-7dda7e2cdbf7b63c316da2baa5627c7e7dc6d5b2.tar.xz
mana-7dda7e2cdbf7b63c316da2baa5627c7e7dc6d5b2.zip
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.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/browserbox.cpp2
1 files changed, 1 insertions, 1 deletions
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;