summaryrefslogtreecommitdiff
path: root/includes/Main.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/Main.h')
-rw-r--r--includes/Main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/Main.h b/includes/Main.h
index 10a27b7..7a2a001 100644
--- a/includes/Main.h
+++ b/includes/Main.h
@@ -39,7 +39,7 @@ class Main {
Main() : m_status(UNKNOWN) { IAssert(s_application == NULL, "There can't be two main apps"); s_application = this; }
static Status getStatus() { return s_application->m_status; }
int bootstrap(int _argc, char ** _argv);
- static bool hasMain() { return s_application; }
+ static bool hasMain() { return !!s_application; }
private:
Status m_status;
static Main * s_application;