mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-23 15:06:32 +00:00
[Refs #87: Static Analysis] string compare as uppercase or by length
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user