render: remove unneeded parantheses

This commit is contained in:
Daniel Eklöf 2021-01-18 09:52:11 +01:00
parent b4f1f72585
commit a2b3ab6d9e
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

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