Skip to content

Commit

Permalink
log doesnt show file, only msg
Browse files Browse the repository at this point in the history
  • Loading branch information
youis11 committed Oct 27, 2019
1 parent 43dfa88 commit 2239cda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Weep Engine/log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2239cda

Please sign in to comment.