Parcourir la source

Fix the LOL_DEBUG environment variable handling logic.

pull/1/head
Sam Hocevar il y a 4 ans
Parent
révision
8ce1b6ec9c
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +2
    -2
      include/lol/private/base/msg.h

+ 2
- 2
include/lol/private/base/msg.h Voir le fichier

@@ -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


Chargement…
Annuler
Enregistrer