mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 12:18:50 +02:00
Fix wrong comparison parameter
Wrong string was used for FuzzySearch comparison which resulted wrong highlighted letters in the results.
This commit is contained in:
@@ -69,8 +69,9 @@ namespace Wox.Plugin.Program.Programs
|
|||||||
}
|
}
|
||||||
else if (!string.IsNullOrEmpty(Description))
|
else if (!string.IsNullOrEmpty(Description))
|
||||||
{
|
{
|
||||||
result.Title = $"{Name}: {Description}";
|
var title = $"{Name}: {Description}";
|
||||||
result.TitleHighlightData = StringMatcher.FuzzySearch(query, Description).MatchData;
|
result.Title = title;
|
||||||
|
result.TitleHighlightData = StringMatcher.FuzzySearch(query, title).MatchData;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user