mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
render: remove unneeded parantheses
This commit is contained in:
parent
b4f1f72585
commit
a2b3ab6d9e
1 changed files with 1 additions and 1 deletions
2
render.c
2
render.c
|
|
@ -2756,7 +2756,7 @@ maybe_resize(struct terminal *term, int width, int height, bool force)
|
|||
const int total_x_pad = term->width - grid_width;
|
||||
const int total_y_pad = term->height - grid_height;
|
||||
|
||||
if (term->conf->center && (!term->window->is_resizing)) {
|
||||
if (term->conf->center && !term->window->is_resizing) {
|
||||
term->margins.left = total_x_pad / 2;
|
||||
term->margins.top = total_y_pad / 2;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue