diff options
author | Jens Verwiebe <info@jensverwiebe.de> | 2012-11-22 15:26:21 +0400 |
---|---|---|
committer | Jens Verwiebe <info@jensverwiebe.de> | 2012-11-22 15:26:21 +0400 |
commit | b3b3d00e062fa032cf1b7ba2eb537d4688868872 (patch) | |
tree | 339a641f337104fe2ad2560f32e2a823a0753102 | |
parent | 899290dd476769c359a0de4232ad9007e68a1307 (diff) |
Fix #33185 correct now, forgot stringlength incrased
-rw-r--r-- | intern/ghost/intern/GHOST_SystemCocoa.mm | 2 |
1 files changed, 1 insertions, 1 deletions
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; |