Skip to content

Commit

Permalink
Use string.IsNullOrEmpty
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyespo committed Jun 23, 2014
1 parent 99dc3f6 commit 57db367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TrayMe/Program.cs
Expand Up @@ -84,7 +84,7 @@ public static void Main(string[] args)
break;
}

if (target != null)
if (!string.IsNullOrEmpty(target))
{
if (Path.GetFullPath(target).ToLower() == Path.GetFullPath(Application.ExecutablePath).ToLower())
{
Expand Down

0 comments on commit 57db367

Please sign in to comment.