Skip to content

Commit

Permalink
macOS: Fixed 10.7 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
ed95 authored and tpoole committed Jan 13, 2021
1 parent 7c797c8 commit b51da7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/juce_core/native/juce_mac_SystemStats.mm
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ static String getOSXVersion()
#endif

if (dict != nullptr)
return nsStringToJuce (dict[nsStringLiteral ("ProductVersion")]);
return nsStringToJuce ([dict objectForKey: nsStringLiteral ("ProductVersion")]);

jassertfalse;
return {};
Expand Down

0 comments on commit b51da7d

Please sign in to comment.