mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-12 15:19:14 +00:00
Do a case-insensitive compare while looking up header file includes
This commit is contained in:
1 parent
801f47a31a
commit
adc325ea4d
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user