Skip to content

Commit

Permalink
Fix wrong condition
Browse files Browse the repository at this point in the history
  • Loading branch information
VictoriousRaptor committed Nov 20, 2023
1 parent 91be62d commit 73c4a69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Flow.Launcher.Infrastructure/DoublePinAlphabet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public bool CanBeTranslated(string stringToTranslate)
{
if (content[i] >= 0x3400 && content[i] <= 0x9FD5)
{
string dp = _settings.ShouldUseDoublePin ? resultList[i] : ToDoublePin(resultList[i].ToLower());
string dp = _settings.ShouldUseDoublePin ? ToDoublePin(resultList[i].ToLower()) : resultList[i];
map.AddNewIndex(i, resultBuilder.Length, dp.Length + 1);
resultBuilder.Append(' ');
resultBuilder.Append(dp);
Expand Down

0 comments on commit 73c4a69

Please sign in to comment.