Browse Source

Avoided assertion in File::isAbsolutePath

tags/2021-05-28
jules 11 years ago
parent
commit
e5e24fd541
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

@@ -754,7 +754,7 @@ String File::createLegalPathName (const String& original)
String s (original);
String start;
if (s[1] == ':')
if (s.isNotEmpty() && s[1] == ':')
{
start = s.substring (0, 2);
s = s.substring (2);


Loading…
Cancel
Save