Browse Source

Fixed a bug in File relative path parsing.

tags/2021-05-28
jules 11 years ago
parent
commit
9a193b55f2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_core/files/juce_File.cpp

+ 1
- 1
modules/juce_core/files/juce_File.cpp View File

@@ -380,7 +380,7 @@ File File::getChildFile (StringRef relativePath) const
if (lastSlash >= 0)
path = path.substring (0, lastSlash);
relativePath = relativePath.text + 3;
relativePath = relativePath.text + (thirdChar == 0 ? 2 : 3);
}
else
{


Loading…
Cancel
Save