Skip to content

Commit b38103e

Browse files
Eddy-Rogersakien-mga
authored andcommitted
Windows: Normalize slashes in return of OS.get_temp_dir()
1 parent ee4acfb commit b38103e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/windows/os_windows.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2168,7 +2168,7 @@ String OS_Windows::get_temp_path() const {
21682168
temp_path_cache = get_config_path();
21692169
}
21702170
}
2171-
return temp_path_cache;
2171+
return temp_path_cache.replace("\\", "/").trim_suffix("/");
21722172
}
21732173

21742174
// Get properly capitalized engine name for system paths

0 commit comments

Comments
 (0)