mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
fix #256
This commit is contained in:
parent
a0b7768a86
commit
4d3df4cda6
1 changed files with 2 additions and 0 deletions
|
|
@ -32,6 +32,8 @@ namespace Wox.Infrastructure
|
|||
|
||||
public MatchResult Evaluate(string str)
|
||||
{
|
||||
if (string.IsNullOrEmpty(str) || string.IsNullOrEmpty(query)) return new MatchResult() { Success = false };
|
||||
|
||||
var len = str.Length;
|
||||
var compareString = opt.IgnoreCase ? str.ToLower() : str;
|
||||
var pattern = opt.IgnoreCase ? query.ToLower() : query;
|
||||
|
|
|
|||
Loading…
Reference in a new issue