diff --git a/Source/Core/Core/Src/LogManager.cpp b/Source/Core/Core/Src/LogManager.cpp index 0b47e99d16..3549a72767 100644 --- a/Source/Core/Core/Src/LogManager.cpp +++ b/Source/Core/Core/Src/LogManager.cpp @@ -50,7 +50,7 @@ CDebugger_Log::CDebugger_Log(const char* _szShortName, const char* _szName) : { strcpy((char*)m_szName, _szName); strcpy((char*)m_szShortName, _szShortName); - sprintf((char*)m_szFilename, "Logs/%s.txt", _szShortName); + sprintf((char*)m_szFilename, "Logs/%s.txt", _szName); unlink(m_szFilename); }