[banshee] [Booter] Fix ArgumentNullException



commit 5d6995dbc965f028118c8d89caf7c6d9640263fd
Author: Alexander Kojevnikov <alexander kojevnikov com>
Date:   Thu May 20 18:06:48 2010 +1000

    [Booter] Fix ArgumentNullException
    
    Paths.ApplicationData is not initialised until
    Paths.ApplicationName is set.

 src/Clients/Booter/Booter/Entry.cs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/Clients/Booter/Booter/Entry.cs b/src/Clients/Booter/Booter/Entry.cs
index cd6652e..4ee1f34 100644
--- a/src/Clients/Booter/Booter/Entry.cs
+++ b/src/Clients/Booter/Booter/Entry.cs
@@ -73,6 +73,8 @@ namespace Booter
     {
         public static void Main ()
         {
+            Paths.ApplicationName = Application.InternalName;
+
             if (CheckHelpVersion ()) {
                 return;
             }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]