]> Dogcows Code - chaz/openbox/commitdiff
reuse variables, less braces
authorDana Jansens <danakj@orodu.net>
Tue, 22 May 2007 18:11:04 +0000 (18:11 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 22 May 2007 18:11:04 +0000 (18:11 +0000)
openbox/moveresize.c

index fbc85f5b261de74a464a45bd298d10a3d8ccc3b2..c55b88e1504249f660afa2581d79e4b3dd15b747 100644 (file)
@@ -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 */
This page took 0.024927 seconds and 4 git commands to generate.