Commit b3c347bd authored by Fabrice Bellet's avatar Fabrice Bellet Committed by Olivier Crête

debug: fix verbose debug enable

parent d7bf3d25
...@@ -167,7 +167,7 @@ void nice_debug (const char *fmt, ...) ...@@ -167,7 +167,7 @@ void nice_debug (const char *fmt, ...)
void nice_debug_verbose (const char *fmt, ...) void nice_debug_verbose (const char *fmt, ...)
{ {
va_list ap; va_list ap;
if (debug_verbose_enabled) { if (debug_enabled && debug_verbose_enabled) {
va_start (ap, fmt); va_start (ap, fmt);
g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, fmt, ap); g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, fmt, ap);
va_end (ap); va_end (ap);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment