Return a true boolean value (0 or 1).

This commit is contained in:
Ferenc Wagner 2005-01-05 17:13:51 +00:00 committed by Alexandre Julliard
parent 7c26a65f07
commit a790b2d1c5
1 changed files with 1 additions and 1 deletions

View File

@ -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 ()