diff options
author | Cody Russell <cody@jhu.edu> | 2014-11-09 00:26:15 +0300 |
---|---|---|
committer | Cody Russell <cody@jhu.edu> | 2014-11-09 00:26:15 +0300 |
commit | 4504f307229416d0cd6a5faed0bc57d8398bffcb (patch) | |
tree | 9f672ad963eab6937378b15d0d96d0565ee96b33 /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Fonts | |
parent | c24edb5bbdfdb12dc3211b42cbb98dd5b1ec759b (diff) |
Compare using the existing MacSystemInformation.Yosemite version.
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Fonts')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Fonts/FontDescriptionCodon.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Fonts/FontDescriptionCodon.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Fonts/FontDescriptionCodon.cs index 87067d4a79..0148e1658e 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Fonts/FontDescriptionCodon.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Fonts/FontDescriptionCodon.cs @@ -63,7 +63,7 @@ namespace MonoDevelop.Ide.Fonts if (MonoDevelop.Core.Platform.IsWindows) return string.IsNullOrEmpty (fontDescriptionWindows) ? fontDescription : fontDescriptionWindows; if (MonoDevelop.Core.Platform.IsMac) { - if (MonoDevelop.Core.Platform.OSVersion.Major == 10 && MonoDevelop.Core.Platform.OSVersion.Minor >= 10) { + if (MonoDevelop.Core.Platform.OSVersion >= MonoDevelop.Core.MacSystemInformation.Yosemite) { if (!string.IsNullOrEmpty (fontDescriptionMacYosemite)) { return fontDescriptionMacYosemite; } |