mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-03-21 02:01:03 +00:00
Convert backslashes in the windows EXE path
This commit is contained in:
parent
571f6b3d3b
commit
8f157e63db
1 changed files with 1 additions and 0 deletions
|
@ -369,6 +369,7 @@ bool Sys_GetPath(sysPath_t type, idStr &path) {
|
|||
case PATH_EXE:
|
||||
GetModuleFileName(NULL, buf, sizeof(buf) - 1);
|
||||
path = buf;
|
||||
path.BackSlashesToSlashes();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue