Browse Source

(Fixed a silly typo in the last commit)

tags/2021-05-28
jules 12 years ago
parent
commit
a811a80884
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      modules/juce_core/native/juce_mac_Files.mm

+ 2
- 1
modules/juce_core/native/juce_mac_Files.mm View File

@@ -392,13 +392,14 @@ bool DirectoryIterator::NativeIterator::next (String& filenameFound,
//==============================================================================
bool JUCE_CALLTYPE Process::openDocument (const String& fileName, const String& /*parameters*/)
bool JUCE_CALLTYPE Process::openDocument (const String& fileName, const String& parameters)
{
JUCE_AUTORELEASEPOOL
{
NSURL* filenameAsURL = [NSURL URLWithString: juceStringToNS (fileName)];
#if JUCE_IOS
(void) parameters;
return [[UIApplication sharedApplication] openURL: filenameAsURL];
#else
NSWorkspace* workspace = [NSWorkspace sharedWorkspace];


Loading…
Cancel
Save