Browse Source

Fixed a typo that prevented OSX 10.6 builds.

tags/2021-05-28
jules 13 years ago
parent
commit
1125229308
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_gui_basics/native/juce_mac_Windowing.mm

+ 1
- 1
modules/juce_gui_basics/native/juce_mac_Windowing.mm View File

@@ -320,7 +320,7 @@ void Desktop::Displays::findDisplays()
d.totalArea = convertDisplayRect ([s frame], mainScreenBottom);
d.isMain = (i == 0);
#if defined (MAC_OS_X_VERSION_10_6) && (MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_6)
#if defined (MAC_OS_X_VERSION_10_7) && (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7)
if ([s respondsToSelector: @selector (backingScaleFactor)])
d.scale = s.backingScaleFactor;
else


Loading…
Cancel
Save