Permalink
Browse files

libxbmc: move PreFlight() call into CApp

  • Loading branch information...
theuni
theuni committed Jun 6, 2012
1 parent 4d8a9bb commit bf0a52c8791e407ffedc5a38c93a7ba2844c47ab
Showing with 1 addition and 1 deletion.
  1. +1 −0 xbmc/Application.cpp
  2. +0 −1 xbmc/xbmc.cpp
View
@@ -552,6 +552,7 @@ void CApplication::Preflight()
bool CApplication::Create()
{
+ Preflight();
g_settings.Initialize(); //Initialize default AdvancedSettings
#ifdef _LINUX
View
@@ -90,7 +90,6 @@ int main(int argc, char* argv[])
CAppParamParser appParamParser;
appParamParser.Parse((const char **)argv, argc);
#endif
- g_application.Preflight();
if (!g_application.Create())
{
fprintf(stderr, "ERROR: Unable to create application. Exiting\n");

0 comments on commit bf0a52c

Please sign in to comment.