From 2239cda03d8767c7a044893cc88724881a6df869 Mon Sep 17 00:00:00 2001 From: youis11 Date: Sun, 27 Oct 2019 22:54:52 +0100 Subject: [PATCH] log doesnt show file, only msg --- Weep Engine/log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Weep Engine/log.cpp b/Weep Engine/log.cpp index 2aab96b..af50bd1 100644 --- a/Weep Engine/log.cpp +++ b/Weep Engine/log.cpp @@ -13,7 +13,7 @@ void log(const char file[], int line, const char* format, ...) va_start(ap, format); vsprintf_s(tmp_string, 4096, format, ap); va_end(ap); - sprintf_s(tmp_string2, 4096, "\n%s(%d) : %s", file, line, tmp_string); + sprintf_s(tmp_string2, 4096, "\n%s", tmp_string); OutputDebugString(tmp_string2); if (App)