From a790b2d1c5e4e5e3080b6523942b87cb74c20766 Mon Sep 17 00:00:00 2001 From: Ferenc Wagner Date: Wed, 5 Jan 2005 17:13:51 +0000 Subject: [PATCH] Return a true boolean value (0 or 1). --- programs/winetest/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/winetest/main.c b/programs/winetest/main.c index 00f47dae934..b5d9285a023 100644 --- a/programs/winetest/main.c +++ b/programs/winetest/main.c @@ -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 ()