1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

MacOS: Fix API deprecations in macOS 12.0 and iOS 15.0

This commit is contained in:
reuk 2021-06-09 16:05:03 +01:00
parent 7d349fd68f
commit a70488e38e
10 changed files with 73 additions and 32 deletions

View file

@ -201,7 +201,7 @@ String JUCEApplicationBase::getCommandLineParameters()
for (int i = 1; i < juce_argc; ++i)
{
String arg (juce_argv[i]);
String arg { CharPointer_UTF8 (juce_argv[i]) };
if (arg.containsChar (' ') && ! arg.isQuotedString())
arg = arg.quoted ('"');