summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-01-14 01:43:31 +0200
committerAndrei Karas <akaras@inbox.ru>2011-01-14 01:43:31 +0200
commit3be9741135fb25a773401466a0b303c4542acff2 (patch)
treecbab6da62758220cd9703a67affa3a835165c760 /src/gui
parent175027e204d936b2c775fe587e7d3f14e71e1233 (diff)
downloadmanaverse-3be9741135fb25a773401466a0b303c4542acff2.tar.gz
manaverse-3be9741135fb25a773401466a0b303c4542acff2.tar.bz2
manaverse-3be9741135fb25a773401466a0b303c4542acff2.tar.xz
manaverse-3be9741135fb25a773401466a0b303c4542acff2.zip
Fix compilation warning.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/radiobutton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/radiobutton.cpp b/src/gui/widgets/radiobutton.cpp
index 9683a11a8..70d282b69 100644
--- a/src/gui/widgets/radiobutton.cpp
+++ b/src/gui/widgets/radiobutton.cpp
@@ -147,7 +147,7 @@ void RadioButton::draw(gcn::Graphics* graphics)
graphics->setFont(getFont());
graphics->setColor(getForegroundColor());
- int h = getHeight() + getHeight() / 2;
+// int h = getHeight() + getHeight() / 2;
// graphics->drawText(getCaption(), h - 2, 0);
graphics->drawText(getCaption(), 16, 0);
}