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)