mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
interactive: add braces around case containing declaration
This commit is contained in:
parent
bca0ec07ac
commit
0ce10f6afa
1 changed files with 2 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ interactive_begin(struct view *view, enum input_mode mode, enum lab_edge edges)
|
|||
|
||||
cursor_shape = LAB_CURSOR_GRAB;
|
||||
break;
|
||||
case LAB_INPUT_STATE_RESIZE:
|
||||
case LAB_INPUT_STATE_RESIZE: {
|
||||
if (view->shaded || view->fullscreen ||
|
||||
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);
|
||||
cursor_shape = cursor_get_from_edge(edges);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
/* Should not be reached */
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue