From a2b3ab6d9e6c63891efb3f21ca8a964dfd404fd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Mon, 18 Jan 2021 09:52:11 +0100 Subject: [PATCH] render: remove unneeded parantheses --- render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/render.c b/render.c index 1f79ad98..18d1beff 100644 --- a/render.c +++ b/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 {