From 82acfb3bf2452ad4cf526451d2113d384c76d0ba 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 --HG-- branch : develop --- 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)