From 519f0ace43f45ba804e90f0db6d5b5c695b11cb9 Mon Sep 17 00:00:00 2001 From: chylex <info@chylex.com> Date: Tue, 12 Apr 2016 13:56:08 +0200 Subject: [PATCH] Fix missing Program.BrandName in ScriptLoader exception handler --- Resources/ScriptLoader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/ScriptLoader.cs b/Resources/ScriptLoader.cs index c9deb3c0..554bfba8 100644 --- a/Resources/ScriptLoader.cs +++ b/Resources/ScriptLoader.cs @@ -9,7 +9,7 @@ public static string LoadResource(string name){ try{ return File.ReadAllText(name,Encoding.UTF8); }catch(Exception ex){ - MessageBox.Show("Unfortunately, "+Program.BrandName+" could not load the "+name+" file. The program will continue running with limited functionality.\r\n\r\n"+ex.Message,"TweetDick Has Failed :(",MessageBoxButtons.OK,MessageBoxIcon.Error); + MessageBox.Show("Unfortunately, "+Program.BrandName+" could not load the "+name+" file. The program will continue running with limited functionality.\r\n\r\n"+ex.Message,Program.BrandName+" Has Failed :(",MessageBoxButtons.OK,MessageBoxIcon.Error); return null; } }