From 9c9f503e5cea18ea836c756c768c868c19bdbc0c Mon Sep 17 00:00:00 2001 From: Lion Kortlepel Date: Tue, 30 Mar 2021 01:18:12 +0200 Subject: [PATCH] fix debug printing in debug builds (yes) --- include/Common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/Common.h b/include/Common.h index 5756487..9b6d81f 100644 --- a/include/Common.h +++ b/include/Common.h @@ -87,9 +87,9 @@ void RegisterThread(const std::string str); // if this is defined, we will show the full function signature infront of // each info/debug/warn... call instead of the 'filename:line' format. #if defined(BMP_FULL_FUNCTION_NAMES) -#define _this_location (ThreadName() + _function_name) +#define _this_location (ThreadName() + _function_name + " ") #else -#define _this_location (ThreadName() + _file_basename + ":" + _line) +#define _this_location (ThreadName() + _file_basename + ":" + _line + " ") #endif #else // !defined(DEBUG)