Do comparison with layers in registry case insensitive

* Prevents the warning about layers being mis-registered popping up a
  false positive
This commit is contained in:
baldurk
2016-02-07 18:52:03 +01:00
parent c804c9f25b
commit c698670368
+1 -1
View File
@@ -243,7 +243,7 @@ namespace renderdocui.Code
foreach (var n in names)
{
if(Path.GetFullPath(n) == myJSON)
if(String.Compare(Path.GetFullPath(n), myJSON, StringComparison.CurrentCultureIgnoreCase) == 0)
{
thisRegistered = true;
}