Skip to content
This repository has been archived by the owner on Sep 30, 2018. It is now read-only.

Commit

Permalink
[droid] fix uninit'd loglevel
Browse files Browse the repository at this point in the history
  • Loading branch information
Cory Fields committed Aug 3, 2012
1 parent 4a6c652 commit 1f91b8d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions xbmc/xbmc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,16 @@ extern "C" int XBMC_Run(bool renderGUI)
int status = -1;

if (!g_advancedSettings.Initialized())
{
#ifdef _DEBUG
g_advancedSettings.m_logLevel = LOG_LEVEL_DEBUG;
g_advancedSettings.m_logLevelHint = LOG_LEVEL_DEBUG;
#else
g_advancedSettings.m_logLevel = LOG_LEVEL_NORMAL;
g_advancedSettings.m_logLevelHint = LOG_LEVEL_NORMAL;
#endif
g_advancedSettings.Initialize();
}

if (!g_application.Create())
{
Expand Down

0 comments on commit 1f91b8d

Please sign in to comment.