mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
simplify condition as per comment
This commit is contained in:
parent
fe65e7a0c4
commit
6095933847
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ namespace Wox.Infrastructure
|
||||||
if (currentQuerySubstringCharacterIndex == currentQuerySubstring.Length)
|
if (currentQuerySubstringCharacterIndex == currentQuerySubstring.Length)
|
||||||
{
|
{
|
||||||
// if any of the substrings was not matched then consider as all are not matched
|
// if any of the substrings was not matched then consider as all are not matched
|
||||||
allSubstringsContainedInCompareString = !matchFoundInPreviousLoop ? false : allSubstringsContainedInCompareString;
|
allSubstringsContainedInCompareString = matchFoundInPreviousLoop && allSubstringsContainedInCompareString;
|
||||||
|
|
||||||
currentQuerySubstringIndex++;
|
currentQuerySubstringIndex++;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue