[mojosetup] logDebug() does not require a trailing linefeed.
Francois Gouget
fgouget at codeweavers.com
Mon Aug 10 13:14:49 EDT 2020
Like the other log functions it goes through addLog() which removes
trailing linefeeds before calling MojoPlatform_log().
---
universal.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/universal.h b/universal.h
index a47530e..a23c364 100644
--- a/universal.h
+++ b/universal.h
@@ -397,7 +397,7 @@ do { \
if (!seen_this) \
{ \
seen_this = true; \
- prelog logDebug("STUBBED: %0 at %1 (%2:%3)\n", x, __FUNCTION__, \
+ prelog logDebug("STUBBED: %0 at %1 (%2:%3)", x, __FUNCTION__, \
__FILE__, DEFINE_TO_STR(__LINE__)); \
} \
} while (false)
--
2.20.1
More information about the mojosetup
mailing list