[Refs #87: Static Analysis] string compare as uppercase or by length

This commit is contained in:
baldurk
2014-10-05 19:01:25 +01:00
parent d29024dd8b
commit e749f42876
20 changed files with 109 additions and 110 deletions
+2 -2
View File
@@ -100,7 +100,7 @@ namespace renderdocui.Windows
for (int i = 1; i < lines.Length; i++)
{
string l = rgx.Replace(lines[i], replacement);
if (l != "")
if (l.Length == 0)
node.Nodes.Add(new TreelistView.Node(new object[] { "", l }));
}
@@ -164,7 +164,7 @@ namespace renderdocui.Windows
callstack.Items.Clear();
if (calls.Length == 1 && calls[0] == "")
if (calls.Length == 1 && calls[0].Length == 0)
{
callstack.Items.Add("Symbols not loaded. Tools -> Resolve Symbols.");
}