Skip to content

Commit

Permalink
Fix typo... (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
SlavaRa authored Sep 6, 2016
1 parent 6f02531 commit fa31263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QuickNavigate/Helpers/FormHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ static T GetPluginUI<T>(string pluginGUID)
public static string Transcriptor([NotNull] string s)
{
if (s.Trim().Length == 0) return s;
var result = new string(s.ToCharArray().Select(c => ruToEn[c]).ToArray());
var result = new string(s.ToCharArray().Select(c => ruToEn.ContainsKey(c) ? ruToEn[c] : c).ToArray());
return result;
}
}
Expand Down

0 comments on commit fa31263

Please sign in to comment.