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
MacOS: Escaped " in the command line passed to anotherInstanceStarted
tags/2021-05-28
Tom Poole
6 years ago
parent
368d6bb178
commit
bd07014dcc
1 changed files
with
3 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
modules/juce_events/native/juce_mac_MessageManager.mm
+ 3
- 1
modules/juce_events/native/juce_mac_MessageManager.mm
View File
@@ -235,8 +235,10 @@ private:
static String quotedIfContainsSpaces (NSString* file)
{
String s (nsStringToJuce (file));
s = s.unquoted().replace ("\"", "\\\"");
if (s.containsChar (' '))
s = s.quoted ('"');
s = s.quoted();
return s;
}
Write
Preview
Loading…
Cancel
Save