oooops RECT_SET_POINT was broken
This commit is contained in:
parent
56cc3dc663
commit
cadab91e52
1 changed files with 1 additions and 1 deletions
|
@ -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) \
|
||||
|
|
Loading…
Reference in a new issue