diff --git a/Flow.Launcher.Infrastructure/StringMatcher.cs b/Flow.Launcher.Infrastructure/StringMatcher.cs index 3225f9969..c8f22cf7c 100644 --- a/Flow.Launcher.Infrastructure/StringMatcher.cs +++ b/Flow.Launcher.Infrastructure/StringMatcher.cs @@ -109,8 +109,6 @@ namespace Flow.Launcher.Infrastructure if (fullStringToCompareWithoutCase[compareStringIndex] == queryWithoutCase[currentAcronymQueryIndex]) { - currentAcronymQueryIndex++; - if (!spaceMet) { char currentCompareChar = stringToCompare[compareStringIndex]; @@ -126,6 +124,8 @@ namespace Flow.Launcher.Infrastructure { acronymMatchData.Add(compareStringIndex); } + + currentAcronymQueryIndex++; } else {