From 00b388fbf34c74f28147bff2c86ed148fbdaf155 Mon Sep 17 00:00:00 2001 From: jules Date: Tue, 17 Sep 2013 10:52:49 +0100 Subject: [PATCH] Fixed a typo in the RTAS code. --- modules/juce_audio_plugin_client/RTAS/juce_RTAS_MacUtilities.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_audio_plugin_client/RTAS/juce_RTAS_MacUtilities.mm b/modules/juce_audio_plugin_client/RTAS/juce_RTAS_MacUtilities.mm index d3dbc7bfb4..53b840be9c 100644 --- a/modules/juce_audio_plugin_client/RTAS/juce_RTAS_MacUtilities.mm +++ b/modules/juce_audio_plugin_client/RTAS/juce_RTAS_MacUtilities.mm @@ -69,7 +69,7 @@ void* attachSubWindow (void* hostWindowRef, Component* comp) f.size.height = comp->getHeight(); [content setFrame: f]; - const int mainScreenHeight = getMainScreenHeight(); + const int mainScreenHeight = [[[NSScreen screens] objectAtIndex: 0] frame].size.height; #if WINDOWPOSITION_BODGE {