summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openbox/geom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/geom.h b/openbox/geom.h
index ed24f62b..e20c660a 100644
--- a/openbox/geom.h
+++ b/openbox/geom.h
@@ -23,7 +23,7 @@ typedef struct _Rect {
} Rect;
#define RECT_SET_POINT(r, nx, ny) \
- (r).x = (ny), (r).y = (ny)
+ (r).x = (nx), (r).y = (ny)
#define RECT_SET_SIZE(r, w, h) \
(r).width = (w), (r).height = (h)
#define RECT_SET(r, nx, ny, w, h) \