From c97b0f7194479cebb16590813b8e6a51547b2db3 Mon Sep 17 00:00:00 2001 From: Amy Bowersox Date: Mon, 9 Dec 2019 11:24:19 -0700 Subject: [PATCH] fixed build error in rect --- src/rect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rect.c b/src/rect.c index b4cc505..2f1c318 100755 --- a/src/rect.c +++ b/src/rect.c @@ -37,7 +37,7 @@ BOOL G_offset_rect(PRECT rect, int dx, int dy) BOOL G_is_rect_empty(PCRECT rect) { - return (rect->right <= rect.left) || (rect->bottom <= rect.top); + return (rect->right <= rect->left) || (rect->bottom <= rect->top); } BOOL G_point_in_rect(PCRECT rect, PCPOINT pt)