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