Commit 8576d5ad authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

winetest: Remove superfluous cast to self.

parent 269f29f3
......@@ -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;
}
......
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