From: Steve Brokenshire Date: Sun, 20 Dec 2015 22:03:04 +0000 (+0000) Subject: Fixed error where XAB would immediately exit upon startup due to incorrect usage... X-Git-Tag: release-0.09~222 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=3d4ea4c23ef9177cf0275a34e017c192494d105b;p=xestiaab%2F.git Fixed error where XAB would immediately exit upon startup due to incorrect usage of return & :exit. --- diff --git a/source/main.cpp b/source/main.cpp index f098d36..feb1520 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -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.