Fixed unsigned comparison issue in previous change.

This commit is contained in:
Alexandre Julliard 2004-04-28 00:31:21 +00:00
parent 18cdbf1351
commit 7f8ad0a2bf

View File

@ -161,7 +161,7 @@ BOOL X11DRV_is_window_rect_mapped( const RECT *rect )
if (IsRectEmpty( rect )) return FALSE;
/* don't map if rect is off-screen */
if (rect->left >= screen_width || rect->top >= screen_height) return FALSE;
if (rect->left >= (int)screen_width || rect->top >= (int)screen_height) return FALSE;
if (rect->right < 0 || rect->bottom < 0) return FALSE;
return TRUE;