Commit 7f8ad0a2 authored by Alexandre Julliard's avatar Alexandre Julliard

Fixed unsigned comparison issue in previous change.

parent 18cdbf13
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment