[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [52479] trunk/blender/intern/ghost/intern/ GHOST_SystemCocoa.mm: Fix #33185 correct now, forgot stringlength incrased

jens verwiebe info at jensverwiebe.de
Thu Nov 22 12:26:22 CET 2012


Revision: 52479
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=52479
Author:   jensverwiebe
Date:     2012-11-22 11:26:21 +0000 (Thu, 22 Nov 2012)
Log Message:
-----------
Fix #33185 correct now, forgot stringlength incrased

Modified Paths:
--------------
    trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm

Modified: trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm	2012-11-22 11:09:42 UTC (rev 52478)
+++ trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm	2012-11-22 11:26:21 UTC (rev 52479)
@@ -578,7 +578,7 @@
 	//Hack on MacBook revision, as multitouch avail. function missing
 	if (strstr(rstring,"MacBookAir") ||
 		(strstr(rstring,"MacBook") && (rstring[strlen(rstring)-3]>='5') && (rstring[strlen(rstring)-3]<='9')) ||
-		(strstr(rstring,"MacBookPro") && (rstring[strlen(rstring)-3]>='10'))) // Retina Models
+		(strstr(rstring,"MacBookPro") && (rstring[strlen(rstring)-4]=='1') && (rstring[strlen(rstring)-3]<='1'))) // Retina Models MacBookPro10,1 +
 		m_hasMultiTouchTrackpad = true;
 	else m_hasMultiTouchTrackpad = false;
 	




More information about the Bf-blender-cvs mailing list