From: Dana Jansens Date: Tue, 22 May 2007 18:11:04 +0000 (+0000) Subject: reuse variables, less braces X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=dd937208e6b6a3ea7a420345f0f60ab73f30d144;p=chaz%2Fopenbox reuse variables, less braces --- 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 */