Cleanup: indentation
This commit is contained in:
@@ -348,19 +348,19 @@ void initMouseInputMode(TransInfo *t, MouseInput *mi, MouseInputMode mode)
|
||||
* or hide it if it will be drawn with the helpline */
|
||||
wmWindow *win = CTX_wm_window(t->context);
|
||||
switch(t->helpline) {
|
||||
case HLP_NONE:
|
||||
/* INPUT_VECTOR, INPUT_CUSTOM_RATIO, INPUT_CUSTOM_RATIO_FLIP */
|
||||
WM_cursor_set(win, BC_HANDCURSOR);
|
||||
break;
|
||||
case HLP_SPRING:
|
||||
case HLP_ANGLE:
|
||||
case HLP_TRACKBALL:
|
||||
case HLP_HARROW:
|
||||
case HLP_VARROW:
|
||||
WM_cursor_set(win, CURSOR_NONE);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
case HLP_NONE:
|
||||
/* INPUT_VECTOR, INPUT_CUSTOM_RATIO, INPUT_CUSTOM_RATIO_FLIP */
|
||||
WM_cursor_set(win, BC_HANDCURSOR);
|
||||
break;
|
||||
case HLP_SPRING:
|
||||
case HLP_ANGLE:
|
||||
case HLP_TRACKBALL:
|
||||
case HLP_HARROW:
|
||||
case HLP_VARROW:
|
||||
WM_cursor_set(win, CURSOR_NONE);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
/* if we've allocated new data, free the old data
|
||||
|
||||
Reference in New Issue
Block a user