Browse Source

Fix the LOL_DEBUG environment variable handling logic.

pull/1/head
Sam Hocevar 4 years ago
parent
commit
8ce1b6ec9c
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      include/lol/private/base/msg.h

+ 2
- 2
include/lol/private/base/msg.h View File

@@ -66,8 +66,8 @@ private:
#if !_DEBUG
if (type == message_type::debug)
{
static bool const disable_debug = sys::getenv("LOL_DEBUG").size() > 0;
if (disable_debug)
static bool const enforce_debug = sys::getenv("LOL_DEBUG").size() > 0;
if (!enforce_debug)
return;
}
#endif


Loading…
Cancel
Save