Removed no longer used local variable (spotted by Dmitry Timoshkov).

This commit is contained in:
Alexandre Julliard 2003-01-08 19:55:08 +00:00
parent 08016dc38a
commit 3783e49d3a
1 changed files with 2 additions and 2 deletions

View File

@ -346,9 +346,9 @@ int make_window_active( user_handle_t window )
/* find child of 'parent' that contains the given point (in parent-relative coords) */
static struct window *child_window_from_point( struct window *parent, int x, int y )
{
struct window *ptr, *ret = NULL;
struct window *ptr;
for (ptr = parent->first_child; ptr && !ret; ptr = ptr->next)
for (ptr = parent->first_child; ptr; ptr = ptr->next)
{
if (!(ptr->style & WS_VISIBLE)) continue; /* not visible -> skip */
if ((ptr->style & (WS_POPUP|WS_CHILD|WS_DISABLED)) == (WS_CHILD|WS_DISABLED))