Changed: Only use filename in setProcessName

This commit is contained in:
kervala 2016-01-03 17:50:21 +01:00
parent 3fafbae5c3
commit d96b5d236c

View file

@ -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) void CLog::setPosition (sint line, const char *fileName, const char *funcName)