From 2c4d8fde9951da98e1e8527bba48ce3cd16d309c Mon Sep 17 00:00:00 2001 From: sippeangelo Date: Tue, 11 Mar 2014 09:18:13 +0100 Subject: [PATCH] Logging hawtfix --- Escape-the-Dawn/logging.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Escape-the-Dawn/logging.h b/Escape-the-Dawn/logging.h index e23be53..c83bdfa 100644 --- a/Escape-the-Dawn/logging.h +++ b/Escape-the-Dawn/logging.h @@ -46,10 +46,10 @@ static void _LOG(_LOG_LEVEL logLevel, char* file, char* func, unsigned int line, if (logLevel > LOG_LEVEL) return; - char message[512]; + char message[2048]; va_list args; va_start(args, format); - vsnprintf_s(message, 512, format, args); + vsnprintf_s(message, 2048, format, args); va_end(args); if (logLevel == LOG_LEVEL_ERROR)