Changed: Only use filename in setProcessName
This commit is contained in:
parent
3fafbae5c3
commit
d96b5d236c
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