summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-26 20:13:57 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-26 20:13:57 +0000
commitc1caa4d90e00cd248c05c43ace035c62ab470354 (patch)
tree6e7e189b2e70afd9145706fd14a05462af2f6680 /src
parent14c82e5b5d5547bcf9c3b06c68cf20a100600d0b (diff)
downloadmana-c1caa4d90e00cd248c05c43ace035c62ab470354.tar.gz
mana-c1caa4d90e00cd248c05c43ace035c62ab470354.tar.bz2
mana-c1caa4d90e00cd248c05c43ace035c62ab470354.tar.xz
mana-c1caa4d90e00cd248c05c43ace035c62ab470354.zip
Fixed incorrect button dimensions, as they mess OpenGL display with rectangle textures.
Diffstat (limited to 'src')
-rw-r--r--src/gui/button.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/button.cpp b/src/gui/button.cpp
index eec2e4b2..4114d330 100644
--- a/src/gui/button.cpp
+++ b/src/gui/button.cpp
@@ -55,7 +55,7 @@ static ButtonData const data[BUTTON_COUNT] = {
{"graphics/gui/button.png", 0, 0},
{"graphics/gui/buttonhi.png", 9, 4},
{"graphics/gui/buttonpress.png", 16, 19},
- {"graphics/gui/button_disabled.png", 25, 24}
+ {"graphics/gui/button_disabled.png", 25, 23}
};
ImageRect Button::button[BUTTON_COUNT];