diff --git a/build/macosx/platform_specific_code/juce_mac_FileChooser.mm b/build/macosx/platform_specific_code/juce_mac_FileChooser.mm index b93e6e0e84..f0d021699a 100644 --- a/build/macosx/platform_specific_code/juce_mac_FileChooser.mm +++ b/build/macosx/platform_specific_code/juce_mac_FileChooser.mm @@ -84,7 +84,8 @@ static NSString* juceStringToNS (const JUCE_NAMESPACE::String& s) return true; } - return false; + return JUCE_NAMESPACE::File (JUCE_NAMESPACE::String::fromUTF8 ((const uint8*) filenameUTF8)) + .isDirectory(); } @end diff --git a/juce_amalgamated.cpp b/juce_amalgamated.cpp index 7aaac84e8c..84aaff3e5d 100644 --- a/juce_amalgamated.cpp +++ b/juce_amalgamated.cpp @@ -68770,7 +68770,10 @@ void QuickTimeMovieComponent::setSpeed (const float newSpeed) void QuickTimeMovieComponent::setMovieVolume (const float newVolume) { if (qtMovie != 0) + { qtMovie->PutAudioVolume (newVolume); + qtMovie->PutAudioMute (newVolume <= 0); + } } float QuickTimeMovieComponent::getMovieVolume() const @@ -240377,7 +240380,7 @@ public: shouldDeactivateTitleBar = oldDeactivate; } - void textInputRequired (int x, int y) + void textInputRequired (int /*x*/, int /*y*/) { if (! hasCreatedCaret) { @@ -255888,7 +255891,8 @@ static NSString* juceStringToNS (const JUCE_NAMESPACE::String& s) return true; } - return false; + return JUCE_NAMESPACE::File (JUCE_NAMESPACE::String::fromUTF8 ((const uint8*) filenameUTF8)) + .isDirectory(); } @end