diff options
Diffstat (limited to 'src/guichan/widgets/button.cpp')
-rw-r--r-- | src/guichan/widgets/button.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/guichan/widgets/button.cpp b/src/guichan/widgets/button.cpp index 69affd4b7..585b30f13 100644 --- a/src/guichan/widgets/button.cpp +++ b/src/guichan/widgets/button.cpp @@ -132,8 +132,6 @@ namespace gcn void Button::adjustSize() { - setWidth(getFont()->getWidth(mCaption) + 2*mSpacing); - setHeight(getFont()->getHeight() + 2*mSpacing); } bool Button::isPressed() const |