MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / fixupPath

Function fixupPath

TheForceEngine/TFE_FileSystem/fileutil.cpp:259–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257 }
258
259 void fixupPath(char* path)
260 {
261 const size_t len = strlen(path);
262 for (size_t i = 0; i < len; i++)
263 {
264 if (path[i] == '\\')
265 {
266 path[i] = '/';
267 }
268 }
269 }
270
271 void convertToOSPath(const char* path, char* pathOS)
272 {

Callers 15

addSingleFilePathFunction · 0.70
addSingleFilePathFunction · 0.70
loadReplayFromPathFunction · 0.50
menuFunction · 0.50
getTempDirectoryFunction · 0.50
loadGpuImageFunction · 0.50
project_saveFunction · 0.50
project_editUiFunction · 0.50
addDirectoryFilesFunction · 0.50
exportSelectedFunction · 0.50
testOptionsFunction · 0.50

Calls

no outgoing calls

Tested by 1

testOptionsFunction · 0.40