This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
JUCE
mirror of
https://github.com/DISTRHO/JUCE
Watch
1
Star
0
Fork
0
Code
Releases
1
Activity
Browse Source
Avoided assertion in File::isAbsolutePath
tags/2021-05-28
jules
11 years ago
parent
9abf1ff000
commit
e5e24fd541
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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);
Write
Preview
Loading…
Cancel
Save