Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Fixed error where XAB would immediately exit upon startup due to incorrect usage...
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 20 Dec 2015 22:03:04 +0000 (22:03 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 20 Dec 2015 22:03:04 +0000 (22:03 +0000)
source/main.cpp

index f098d36..feb1520 100644 (file)
@@ -108,7 +108,7 @@ bool XestiaABApp::OnInit()
                // Print out the version number.    
 
                wxPuts(XSDAB_VERSION);
-               exit(EXIT_SUCCESS);
+               return false;
     
        }
     
@@ -199,7 +199,7 @@ bool XestiaABApp::OnInit()
                                break;
                }
        
-               exit(EXIT_SUCCESS);
+               return true;
        
        }
 
@@ -261,11 +261,11 @@ bool XestiaABApp::OnInit()
     
        }
        
-       if (!XABArgs.Found(wxT(""))){
+       /*if (!XABArgs.Found(wxT(""))){
        
                return false;
        
-       }
+       }*/
     
        // Setup default settings and accounts if they don't exist.
     
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy