From 89f4807df2f0cea3e3455d6d9d8151ef813026b8 Mon Sep 17 00:00:00 2001 From: kervala Date: Sun, 3 Jan 2016 17:50:21 +0100 Subject: [PATCH] Changed: Only use filename in setProcessName --- code/nel/src/misc/log.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/nel/src/misc/log.cpp b/code/nel/src/misc/log.cpp index f0e3e36f8..2e7146fb6 100644 --- a/code/nel/src/misc/log.cpp +++ b/code/nel/src/misc/log.cpp @@ -83,7 +83,8 @@ void CLog::setProcessName (const std::string &processName) } } - *_ProcessName = processName; + // keep only filename without path + *_ProcessName = CFile::getFilename(processName); } void CLog::setPosition (sint line, const char *fileName, const char *funcName)