Fix mac build error after ghost cocoa changes.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Sun, 6 May 2012 22:36:51 +0000 (22:36 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Sun, 6 May 2012 22:36:51 +0000 (22:36 +0000)
intern/ghost/intern/GHOST_SystemCocoa.mm

index 77d9e39a752212ba926951c5531ec247c947fa46..d95f7727747d6500b75229851254244c5d4a011b 100644 (file)
@@ -1487,7 +1487,8 @@ GHOST_TSuccess GHOST_SystemCocoa::handleMouseEvent(void *eventPtr)
                                        break;
                        }
                        
-               case NSMouseMoved:
+               case NSMouseMoved: 
+                       {
                                GHOST_TGrabCursorMode grab_mode = window->getCursorGrabMode();
 
                                /* TODO: CHECK IF THIS IS A TABLET EVENT */
@@ -1572,7 +1573,8 @@ GHOST_TSuccess GHOST_SystemCocoa::handleMouseEvent(void *eventPtr)
                                        }
                                                break;
                                }
-                               break;
+                       }
+                       break;
                        
                case NSScrollWheel:
                        {