Skip to content

Commit c395cc7

Browse files
committed
move control variable down for readability during debug
1 parent efdfd06 commit c395cc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Flow.Launcher.Infrastructure/StringMatcher.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,6 @@ public MatchResult FuzzyMatch(string query, string stringToCompare, MatchOption
109109
if (fullStringToCompareWithoutCase[compareStringIndex] ==
110110
queryWithoutCase[currentAcronymQueryIndex])
111111
{
112-
currentAcronymQueryIndex++;
113-
114112
if (!spaceMet)
115113
{
116114
char currentCompareChar = stringToCompare[compareStringIndex];
@@ -126,6 +124,8 @@ public MatchResult FuzzyMatch(string query, string stringToCompare, MatchOption
126124
{
127125
acronymMatchData.Add(compareStringIndex);
128126
}
127+
128+
currentAcronymQueryIndex++;
129129
}
130130
else
131131
{

0 commit comments

Comments
 (0)