JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
spotted missing spaces
authora@null <unknown>
Sat, 20 Dec 2008 12:02:14 +0000 (12:02 +0000)
committera@null <unknown>
Sat, 20 Dec 2008 12:02:14 +0000 (12:02 +0000)
dwm.c

diff --git a/dwm.c b/dwm.c
index 77a91ac..c9a6b0a 100644 (file)
--- a/dwm.c
+++ b/dwm.c
@@ -1147,8 +1147,8 @@ resizemouse(const Arg *arg) {
                        handler[ev.type](&ev);
                        break;
                case MotionNotify:
                        handler[ev.type](&ev);
                        break;
                case MotionNotify:
-                       nw = MAX(ev.xmotion.x - ocx - 2*c->bw + 1, 1);
-                       nh = MAX(ev.xmotion.y - ocy - 2*c->bw + 1, 1);
+                       nw = MAX(ev.xmotion.x - ocx - 2 * c->bw + 1, 1);
+                       nh = MAX(ev.xmotion.y - ocy - 2 * c->bw + 1, 1);
 
                        if(snap && nw >= wx && nw <= wx + ww
                                && nh >= wy && nh <= wy + wh) {
 
                        if(snap && nw >= wx && nw <= wx + ww
                                && nh >= wy && nh <= wy + wh) {