diff --git a/modules/juce_audio_plugin_client/utility/juce_PluginUtilities.cpp b/modules/juce_audio_plugin_client/utility/juce_PluginUtilities.cpp index 99c046b6d4..73a74d1a46 100644 --- a/modules/juce_audio_plugin_client/utility/juce_PluginUtilities.cpp +++ b/modules/juce_audio_plugin_client/utility/juce_PluginUtilities.cpp @@ -46,7 +46,7 @@ extern "C" BOOL WINAPI DllMain (HINSTANCE instance, DWORD reason, LPVOID reserve if (GetModuleHandleA ("DAE.DLL") != 0) { #if JucePlugin_Build_AAX - if (! File::getSpecialLocation (File::currentExecutableFile).extentionMatches ("aax")) + if (! File::getSpecialLocation (File::currentExecutableFile).hasFileExtension ("aaxplugin")) #endif return DllMainRTAS (instance, reason, reserved); }