Cleanup: indentation

This commit is contained in:
2018-04-25 10:10:00 +02:00
parent f210c93945
commit 3ae4aa720f

View File

@@ -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