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
1 changed files with 1 additions and 1 deletions

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;