[Bf-blender-cvs] [f37ec65] master: OSX: Fix T40749, own mistake for m_lionStyleFullScreen condition

Jens Verwiebe noreply at git.blender.org
Mon Jun 23 21:28:05 CEST 2014


Commit: f37ec65f8011ec7b642887b6103b2e5d932f127d
Author: Jens Verwiebe
Date:   Mon Jun 23 21:27:38 2014 +0200
https://developer.blender.org/rBf37ec65f8011ec7b642887b6103b2e5d932f127d

OSX: Fix T40749, own mistake for m_lionStyleFullScreen condition

===================================================================

M	intern/ghost/intern/GHOST_WindowCocoa.mm

===================================================================

diff --git a/intern/ghost/intern/GHOST_WindowCocoa.mm b/intern/ghost/intern/GHOST_WindowCocoa.mm
index cc324d3..f9b8899 100644
--- a/intern/ghost/intern/GHOST_WindowCocoa.mm
+++ b/intern/ghost/intern/GHOST_WindowCocoa.mm
@@ -733,7 +733,7 @@ GHOST_WindowCocoa::GHOST_WindowCocoa(
 	char darwin_ver[10];
 	size_t len = sizeof(darwin_ver);
 	sysctlbyname("kern.osrelease", &darwin_ver, &len, NULL, 0);
-	if(darwin_ver[0] == '1' && darwin_ver[1] <= '3') {
+	if(darwin_ver[0] == '1' && darwin_ver[1] >= '3') {
 		m_lionStyleFullScreen = true;
 	}




More information about the Bf-blender-cvs mailing list