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:
parent
7d349fd68f
commit
a70488e38e
10 changed files with 73 additions and 32 deletions
|
|
@ -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 ('"');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue