1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fixed a typo that prevented OSX 10.6 builds.

This commit is contained in:
jules 2012-04-25 09:40:04 +01:00
parent 438159d01a
commit 1125229308

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