svn merge ^/trunk/blender -r44235:44250
[blender.git] / source / blender / windowmanager / intern / wm_gesture.c
index 6940764c6ad51b657e736f7966c2d59ef53db582..c97d2b5859697e9d0637a63b3112b424959d8af1 100644 (file)
@@ -74,7 +74,9 @@ wmGesture *WM_gesture_new(bContext *C, wmEvent *event, int type)
        
        wm_subwindow_getorigin(window, gesture->swinid, &sx, &sy);
        
-       if( ELEM5(type, WM_GESTURE_RECT, WM_GESTURE_CROSS_RECT, WM_GESTURE_TWEAK, WM_GESTURE_CIRCLE, WM_GESTURE_STRAIGHTLINE)) {
+       if (ELEM5(type, WM_GESTURE_RECT, WM_GESTURE_CROSS_RECT, WM_GESTURE_TWEAK,
+                       WM_GESTURE_CIRCLE, WM_GESTURE_STRAIGHTLINE))
+       {
                rcti *rect= MEM_callocN(sizeof(rcti), "gesture rect new");
                
                gesture->customdata= rect;