mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
log: corrected type for string position
This commit is contained in:
parent
fedd97b8c0
commit
e893e1cf88
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ namespace dxvk {
|
|||
if (!file.empty() && *file.rbegin() != '/')
|
||||
file += '/';
|
||||
std::string name = env::getExeName();
|
||||
unsigned int extp = name.find_last_of('.');
|
||||
auto extp = name.find_last_of('.');
|
||||
if (extp != std::string::npos && name.substr(extp +1) == "exe")
|
||||
name.erase(extp);
|
||||
file += name + "_";
|
||||
|
|
Loading…
Add table
Reference in a new issue