diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/gui/button.cpp | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2007-08-26 Guillaume Melquiond <guillaume.melquiond@gmail.com> + + * src/gui/button.cpp: Fixed incorrect button dimensions, as they mess + OpenGL display with rectangle textures. + 2007-08-25 Guillaume Melquiond <guillaume.melquiond@gmail.com> * configure.ac: Removed dependency on Guichan's OpenGL library. 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]; |