Small change to remove a compiler warning on macOS.

This commit is contained in:
Leon Styhre 2020-11-10 22:42:25 +01:00
parent 6368ae0cc1
commit 08786f2027

View file

@ -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.