[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
@@ -61,7 +61,7 @@ namespace renderdocui.Windows.Dialogs
public void SetErrors(string err)
{
errors.Text = err;
if (errors.Text == "")
if (errors.Text.Length == 0)
errors.Visible = false;
else
errors.Visible = true;