fixed build error in rect

This commit is contained in:
Amy Bowersox 2019-12-09 11:24:19 -07:00
parent 4bef88aecc
commit c97b0f7194

View File

@ -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)