Changed: Only use filename in setProcessName
This commit is contained in:
parent
810af7cc71
commit
89f4807df2
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue