Changed: Only use filename in setProcessName

This commit is contained in:
kervala 2016-01-03 17:50:21 +01:00
parent 810af7cc71
commit 89f4807df2

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)