Use case-insensitive comparison for process filter

This makes it easier to filter processes that have upper case letters -
for example, you can now type 'calc' to filter out 'Calculator'.
This commit is contained in:
Arseny Kapoulkine
2017-05-24 23:24:41 -07:00
committed by Baldur Karlsson
parent 70e8abb382
commit 8154b93e2a
+1 -1
View File
@@ -330,7 +330,7 @@ namespace renderdocui.Windows.Dialogs
bool match = false;
foreach(var v in values)
if (v.Contains(processFilter.Text))
if (v.IndexOf(processFilter.Text, StringComparison.InvariantCultureIgnoreCase) >= 0)
match = true;
if(!match)