Do a case-insensitive compare while looking up header file includes

This commit is contained in:
baldurk
2017-02-02 12:51:55 +00:00
parent 801f47a31a
commit adc325ea4d
@@ -2551,7 +2551,7 @@ namespace renderdocui.Windows.PipelineState
// if not, try and find the same filename (this is not proper include handling!)
foreach (var k in updatedfiles.Keys)
{
if (renderdocui.Code.Helpers.SafeGetFileName(k) == search)
if (String.Compare(renderdocui.Code.Helpers.SafeGetFileName(k), search, true) == 0)
{
fileText = updatedfiles[k];
break;