From c395cc74b59c208601af3f8c376b853b7bda8b68 Mon Sep 17 00:00:00 2001 From: Jeremy Wu Date: Mon, 1 Feb 2021 06:08:05 +1100 Subject: [PATCH] move control variable down for readability during debug --- Flow.Launcher.Infrastructure/StringMatcher.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {