aboutsummaryrefslogtreecommitdiff
path: root/xbmc/xbmc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/xbmc.cpp')
-rw-r--r--xbmc/xbmc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/xbmc.cpp b/xbmc/xbmc.cpp
index a3b5fa308e..697d3db6fe 100644
--- a/xbmc/xbmc.cpp
+++ b/xbmc/xbmc.cpp
@@ -128,7 +128,7 @@ int main(int argc, char* argv[])
}
g_application.Preflight();
- if (g_application.Create(NULL) != S_OK)
+ if (!g_application.Create(NULL))
{
fprintf(stderr, "ERROR: Unable to create application. Exiting\n");
return -1;