projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2b1b91
)
[droid] fix uninit'd loglevel
author
Cory Fields
<theuni-nospam-@xbmc.org>
Mon, 9 Jul 2012 08:02:43 +0000
(
04:02
-0400)
committer
Cory Fields
<theuni-nospam-@xbmc.org>
Wed, 8 Aug 2012 22:59:21 +0000
(18:59 -0400)
xbmc/xbmc.cpp
patch
|
blob
|
history
diff --git
a/xbmc/xbmc.cpp
b/xbmc/xbmc.cpp
index
9632f6a
..
75c6677
100644
(file)
--- a/
xbmc/xbmc.cpp
+++ b/
xbmc/xbmc.cpp
@@
-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())
{