From 3d4ea4c23ef9177cf0275a34e017c192494d105b Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 20 Dec 2015 22:03:04 +0000 Subject: [PATCH] Fixed error where XAB would immediately exit upon startup due to incorrect usage of return & :exit. --- source/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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. -- 2.39.5