Fix compilation + codingstyle
This commit is contained in:
parent
495976bff6
commit
72fa0adcfd
|
|
@ -111,10 +111,8 @@ namespace Nz
|
||||||
|
|
||||||
bool Log::Initialize()
|
bool Log::Initialize()
|
||||||
{
|
{
|
||||||
if (s_logger == s_stdLogger)
|
if (s_logger == &s_stdLogger)
|
||||||
{
|
|
||||||
s_logger = new FileLogger();
|
s_logger = new FileLogger();
|
||||||
}
|
|
||||||
|
|
||||||
SetLogger(s_logger);
|
SetLogger(s_logger);
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue