Convert backslashes in the windows EXE path

This commit is contained in:
dhewg 2012-07-05 19:11:03 +02:00
parent 571f6b3d3b
commit 8f157e63db

View file

@ -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;
}