interactive: add braces around case containing declaration

This commit is contained in:
John Lindgren 2025-09-06 23:31:00 -04:00 committed by Johan Malm
parent bca0ec07ac
commit 0ce10f6afa

View file

@ -101,7 +101,7 @@ interactive_begin(struct view *view, enum input_mode mode, enum lab_edge edges)
cursor_shape = LAB_CURSOR_GRAB; cursor_shape = LAB_CURSOR_GRAB;
break; break;
case LAB_INPUT_STATE_RESIZE: case LAB_INPUT_STATE_RESIZE: {
if (view->shaded || view->fullscreen || if (view->shaded || view->fullscreen ||
view->maximized == VIEW_AXIS_BOTH) { view->maximized == VIEW_AXIS_BOTH) {
/* /*
@ -133,6 +133,7 @@ interactive_begin(struct view *view, enum input_mode mode, enum lab_edge edges)
view_set_untiled(view); view_set_untiled(view);
cursor_shape = cursor_get_from_edge(edges); cursor_shape = cursor_get_from_edge(edges);
break; break;
}
default: default:
/* Should not be reached */ /* Should not be reached */
return; return;