Changeset 2535


Ignore:
Timestamp:
3/17/2012 2:08:57 AM (3 years ago)
Author:
lowjoel
Message:
  • We should re-throw the exception if we get one while processing the command line. This would trigger BlackBox?, if it was initialised.
  • When we process the command line, when checking against a null string, we should use String.IsNullOrEmpty?.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser/Eraser/Program.cs

    r2533 r2535  
    342342                { 
    343343                    Console.WriteLine(e.Message); 
    344                     return 1; 
     344                    throw; 
    345345                } 
    346346        } 
     
    603603            //Do we have a parent dialog? 
    604604            IWin32Window parent = null; 
    605             if (arguments.Parent != null) 
     605            if (!string.IsNullOrEmpty(arguments.Parent)) 
    606606            { 
    607607                parent = new Win32Window((IntPtr)(ulong) 
Note: See TracChangeset for help on using the changeset viewer.