From 08786f20279bcddd4d29658441ee35289c070cc9 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Tue, 10 Nov 2020 22:42:25 +0100 Subject: [PATCH] Small change to remove a compiler warning on macOS. --- es-core/src/Window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es-core/src/Window.cpp b/es-core/src/Window.cpp index 056431bdc..388a5c3c3 100644 --- a/es-core/src/Window.cpp +++ b/es-core/src/Window.cpp @@ -154,7 +154,7 @@ void Window::input(InputConfig* config, Input input) Settings::getInstance()->getBool("ScreensaverSlideshowCustomImages")) customImageSlideshow = true; - if (customImageSlideshow || mScreensaver->getCurrentGame() != nullptr && + if ((customImageSlideshow || mScreensaver->getCurrentGame() != nullptr) && (config->isMappedTo("a", input) || config->isMappedLike("left", input) || config->isMappedLike("right", input))) { // Left or right browses to the next video or image.