From dd937208e6b6a3ea7a420345f0f60ab73f30d144 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 22 May 2007 18:11:04 +0000 Subject: [PATCH] reuse variables, less braces --- openbox/moveresize.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/openbox/moveresize.c b/openbox/moveresize.c index fbc85f5b..c55b88e1 100644 --- a/openbox/moveresize.c +++ b/openbox/moveresize.c @@ -373,11 +373,8 @@ static void do_resize() } #endif - { - gint x, y; - get_resize_position(&x, &y, FALSE); - client_configure(moveresize_client, x, y, cur_x, cur_y, TRUE, FALSE); - } + get_resize_position(&x, &y, FALSE); + client_configure(moveresize_client, x, y, cur_x, cur_y, TRUE, FALSE); /* this would be better with a fixed width font ... XXX can do it better if there are 2 text boxes */ -- 2.44.0