aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2021-10-04 00:08:39 -0700
committerChris Robinson <[email protected]>2021-10-04 00:08:39 -0700
commit90cfd090d6fc03f2cf63632bbd5d5deb9c2e5e56 (patch)
tree7e9899d34cb393f348aac9eb37335430104e5cf1
parent1a0287e2a0ae0da81768beebde7dc561901574db (diff)
Fix inverted macro check
-rw-r--r--core/logging.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/logging.cpp b/core/logging.cpp
index 78956791..91cb0e8c 100644
--- a/core/logging.cpp
+++ b/core/logging.cpp
@@ -45,7 +45,7 @@ void al_print(LogLevel level, FILE *logfile, const char *fmt, ...)
* informational, warning, or error debug messages. So only print them for
* non-Release builds.
*/
-#ifdef NDEBUG
+#ifndef NDEBUG
OutputDebugStringW(wstr.c_str());
#endif
}