style cleanup: switch statements, include break statements within braces & indent.

also indent case's within the switch (we already did both of these almost everywhere)
This commit is contained in:
2013-07-19 15:23:42 +00:00
parent fd1d4151f1
commit 397da50002
55 changed files with 774 additions and 883 deletions

View File

@@ -247,8 +247,8 @@ static int view_pan_modal(bContext *C, wmOperator *op, const wmEvent *event)
vpd->lasty = event->y;
view_pan_apply(op);
break;
}
break;
/* XXX - Mode switching isn't implemented. See comments in 36818.
* switch to zoom */
#if 0
@@ -1674,9 +1674,8 @@ static int scroller_activate_modal(bContext *C, wmOperator *op, const wmEvent *e
vsm->lasty = event->y;
scroller_activate_apply(C, op);
break;
}
break;
case LEFTMOUSE:
case MIDDLEMOUSE:
if (event->val == KM_RELEASE) {