summaryrefslogtreecommitdiff
path: root/src/gui/widgets/button.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/button.cpp')
-rw-r--r--src/gui/widgets/button.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/button.cpp b/src/gui/widgets/button.cpp
index 90c1706b5..2642a67a3 100644
--- a/src/gui/widgets/button.cpp
+++ b/src/gui/widgets/button.cpp
@@ -507,9 +507,9 @@ void Button::draw(Graphics *graphics)
if (mImages)
{
if (isPressed())
- graphics->drawImage2(mImages[mode], imageX + 1, imageY + 1);
+ graphics->drawImage(mImages[mode], imageX + 1, imageY + 1);
else
- graphics->drawImage2(mImages[mode], imageX, imageY);
+ graphics->drawImage(mImages[mode], imageX, imageY);
}
}