Skip to content

Commit 6cd3bef

Browse files
committed
Project: Fixed a Windows path error
1 parent 56e9421 commit 6cd3bef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/tracktion_engine/project/tracktion_Project.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ juce::String Project::getSourcePathForFile (const juce::File& file) const
8585
auto projectDir = getDefaultDirectory();
8686

8787
if (file.isAChildOf (projectDir))
88-
return file.getRelativePathFrom (projectDir);
88+
return file.getRelativePathFrom (projectDir).replaceCharacter ('\\', '/');
8989

9090
return file.getFullPathName();
9191
}

0 commit comments

Comments
 (0)