Make #include filename searching case insensitive

This commit is contained in:
baldurk
2015-05-22 21:31:13 +02:00
parent 4e30afba58
commit 03a3bafaf9
2 changed files with 2 additions and 2 deletions
@@ -1843,7 +1843,7 @@ namespace renderdocui.Windows.PipelineState
string mainfile = "";
var files = new Dictionary<string, string>();
var files = new Dictionary<string, string>(StringComparer.InvariantCultureIgnoreCase);
if (shaderDetails.DebugInfo.entryFunc.Length > 0 && shaderDetails.DebugInfo.files.Length > 0)
{
entryFunc = shaderDetails.DebugInfo.entryFunc;
+1 -1
View File
@@ -1581,7 +1581,7 @@ namespace renderdocui.Windows
{
if (m_SaveCallback != null)
{
var files = new Dictionary<string, string>();
var files = new Dictionary<string, string>(StringComparer.InvariantCultureIgnoreCase);
foreach (var s in m_Scintillas)
files.Add(s.Tag as string, s.Text);
m_SaveCallback(this, files);