winetest: Remove superfluous cast to self.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
269f29f3c0
commit
8576d5ad84
|
@ -202,7 +202,7 @@ static BOOL running_on_visible_desktop (void)
|
|||
HWINSTA wstation;
|
||||
USEROBJECTFLAGS uoflags;
|
||||
|
||||
wstation = (HWINSTA)pGetProcessWindowStation();
|
||||
wstation = pGetProcessWindowStation();
|
||||
assert(pGetUserObjectInformationA(wstation, UOI_FLAGS, &uoflags, sizeof(uoflags), &len));
|
||||
return (uoflags.dwFlags & WSF_VISIBLE) != 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue