Commit a790b2d1 authored by Ferenc Wagner's avatar Ferenc Wagner Committed by Alexandre Julliard

Return a true boolean value (0 or 1).

parent 7c26a65f
......@@ -68,7 +68,7 @@ static int running_under_wine ()
static int running_on_visible_desktop ()
{
return GetWindowLongA (GetDesktopWindow (), GWL_STYLE) & WS_VISIBLE;
return (GetWindowLongA (GetDesktopWindow (), GWL_STYLE) & WS_VISIBLE) != 0;
}
void print_version ()
......
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