(macOS) Fixed a Clang compiler warning.

This commit is contained in:
Leon Styhre 2021-07-15 18:23:03 +02:00
parent c60481c7b4
commit bc6d962503

View file

@ -553,7 +553,7 @@ bool GuiScraperSearch::input(InputConfig* config, Input input)
// mode and there are less than 2 search results.
if (!mAcceptedResult && config->isMappedTo("y", input) && input.value != 0) {
if (mSearchType != ACCEPT_SINGLE_MATCHES ||
mSearchType == ACCEPT_SINGLE_MATCHES && mScraperResults.size() > 1) {
(mSearchType == ACCEPT_SINGLE_MATCHES && mScraperResults.size() > 1)) {
openInputScreen(mLastSearch);
}
}