mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-07-12 18:19:42 -07:00
14 lines
467 B
Diff
14 lines
467 B
Diff
diff --git a/image_viewer.cpp b/image_viewer.cpp
|
|
index f636344..39d9c87 100644
|
|
--- a/image_viewer.cpp
|
|
+++ b/image_viewer.cpp
|
|
@@ -213,7 +213,7 @@ bool ImageViewer::keyHold()
|
|
}
|
|
|
|
#if SDL_VERSION_ATLEAST(2, 0, 0)
|
|
-bool CCommander::gamepadHold(SDL_GameController *controller)
|
|
+bool ImageViewer::gamepadHold(SDL_GameController *controller)
|
|
{
|
|
const auto &c = config();
|
|
if (tick(controller, c.gamepad_up) || tick(controller, c.gamepad_left)) return actionUp();
|