From b3b3d00e062fa032cf1b7ba2eb537d4688868872 Mon Sep 17 00:00:00 2001 From: Jens Verwiebe Date: Thu, 22 Nov 2012 11:26:21 +0000 Subject: [PATCH] Fix #33185 correct now, forgot stringlength incrased --- intern/ghost/intern/GHOST_SystemCocoa.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intern/ghost/intern/GHOST_SystemCocoa.mm b/intern/ghost/intern/GHOST_SystemCocoa.mm index 47e1e1d8531..594c0df9494 100644 --- a/intern/ghost/intern/GHOST_SystemCocoa.mm +++ b/intern/ghost/intern/GHOST_SystemCocoa.mm @@ -578,7 +578,7 @@ GHOST_SystemCocoa::GHOST_SystemCocoa() //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]<='0'))) // Retina Models MacBookPro10,1 + m_hasMultiTouchTrackpad = true; else m_hasMultiTouchTrackpad = false;